diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-06-25 18:16:43 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-06-25 18:16:43 +0000 |
commit | 803eb463a54c54bb623176573c51f382f52ee9a9 (patch) | |
tree | 23a004cf5345773bcd5d270259579ea63cfcfab9 /src/supervision/s6-svwait.c | |
parent | eba790dff930c232d6b5266fdfda0b1231167609 (diff) | |
download | s6-803eb463a54c54bb623176573c51f382f52ee9a9.tar.xz |
Loosen nonzero servicedirs requirement on s6-svwait/s6-svlisten
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/supervision/s6-svwait.c')
-rw-r--r-- | src/supervision/s6-svwait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervision/s6-svwait.c b/src/supervision/s6-svwait.c index 2c7a312..78f5c3f 100644 --- a/src/supervision/s6-svwait.c +++ b/src/supervision/s6-svwait.c @@ -45,7 +45,7 @@ int main (int argc, char const *const *argv) argc -= l.ind ; argv += l.ind ; if (t) tain_from_millisecs(&deadline, t) ; else deadline = tain_infinite_relative ; } - if (!argc) dieusage() ; + if (!argc) return 0 ; tain_now_set_stopwatch_g() ; tain_add_g(&deadline, &deadline) ; |