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)
{
unsigned opt;
- opt_complementary = "-1"; /* at least one arg */
- opt = getopt32(argv, "+c"); /* +: stop on first non-opt */
+ /* +: stop on first non-opt */
+ opt = getopt32(argv, "^+" "c" "\0" "-1"/* at least one arg */);
argv += optind;
/* setsid() is allowed only when we are not a process group leader.