Update deps; especially for chacha20

This commit is contained in:
Frank Denis 2018-03-26 20:46:25 +02:00
parent 9224e79c59
commit 10f0503d50
23 changed files with 1785 additions and 1282 deletions

View file

@ -21,6 +21,13 @@ func isUpstart() bool {
if _, err := os.Stat("/sbin/upstart-udev-bridge"); err == nil {
return true
}
if _, err := os.Stat("/sbin/init"); err == nil {
if out, err := exec.Command("/sbin/init", "--version").Output(); err == nil {
if strings.Contains(string(out), "init (upstart") {
return true
}
}
}
return false
}