aboutsummaryrefslogtreecommitdiff
path: root/util-linux/setsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/setsid.c')
-rw-r--r--util-linux/setsid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/setsid.c b/util-linux/setsid.c
index 60cab2fcf..8385a9115 100644
--- a/util-linux/setsid.c
+++ b/util-linux/setsid.c
@@ -37,8 +37,8 @@ int setsid_main(int argc UNUSED_PARAM, char **argv)
37{ 37{
38 unsigned opt; 38 unsigned opt;
39 39
40 opt_complementary = "-1"; /* at least one arg */ 40 /* +: stop on first non-opt */
41 opt = getopt32(argv, "+c"); /* +: stop on first non-opt */ 41 opt = getopt32(argv, "^+" "c" "\0" "-1"/* at least one arg */);
42 argv += optind; 42 argv += optind;
43 43
44 /* setsid() is allowed only when we are not a process group leader. 44 /* setsid() is allowed only when we are not a process group leader.