diff --git a/vendor/github.com/kardianos/service/service_upstart_linux.go b/vendor/github.com/kardianos/service/service_upstart_linux.go index 4ec01ab5..fc4d2399 100644 --- a/vendor/github.com/kardianos/service/service_upstart_linux.go +++ b/vendor/github.com/kardianos/service/service_upstart_linux.go @@ -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 }