summaryrefslogtreecommitdiff
path: root/src/supervision
diff options
context:
space:
mode:
Diffstat (limited to 'src/supervision')
-rw-r--r--src/supervision/s6-svlisten1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervision/s6-svlisten1.c b/src/supervision/s6-svlisten1.c
index 6c4bb36..a669403 100644
--- a/src/supervision/s6-svlisten1.c
+++ b/src/supervision/s6-svlisten1.c
@@ -44,7 +44,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
argc -= l.ind ; argv += l.ind ;
if (t) tain_from_millisecs(&tto, t) ; else tto = tain_infinite_relative ;
}
- if (!argc) dieusage() ;
+ if (argc < 2) dieusage() ;
tain_now_g() ;
tain_add_g(&deadline, &tto) ;
spfd = s6_svlisten_selfpipe_init() ;