aboutsummaryrefslogtreecommitdiff
path: root/runit/runsvdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'runit/runsvdir.c')
-rw-r--r--runit/runsvdir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c
index abba2e8e4..11ab40abf 100644
--- a/runit/runsvdir.c
+++ b/runit/runsvdir.c
@@ -248,10 +248,9 @@ int runsvdir_main(int argc UNUSED_PARAM, char **argv)
248 248
249 INIT_G(); 249 INIT_G();
250 250
251 opt_complementary = "-1";
252 opt_s_argv[0] = NULL; 251 opt_s_argv[0] = NULL;
253 opt_s_argv[2] = NULL; 252 opt_s_argv[2] = NULL;
254 getopt32(argv, "Ps:", &opt_s_argv[0]); 253 getopt32(argv, "^" "Ps:" "\0" "-1", &opt_s_argv[0]);
255 argv += optind; 254 argv += optind;
256 255
257 i_am_init = (getpid() == 1); 256 i_am_init = (getpid() == 1);