Deps update

This commit is contained in:
Frank Denis 2018-05-10 12:03:06 +02:00
parent 3c1d7acdaf
commit 2b070c6e93
5 changed files with 7 additions and 14 deletions

View file

@ -21,13 +21,6 @@ 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
}