diff --git a/activation/files_unix.go b/activation/files_unix.go index 7031f281..29e13eff 100644 --- a/activation/files_unix.go +++ b/activation/files_unix.go @@ -51,7 +51,7 @@ func Files(unsetEnv bool) []*os.File { } nfds, err := strconv.Atoi(os.Getenv("LISTEN_FDS")) - if err != nil || nfds == 0 { + if err != nil || nfds <= 0 { return nil }