aboutsummaryrefslogtreecommitdiff
path: root/util-linux/setsid.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2017-08-22 14:56:12 +0100
committerRon Yorston <rmy@pobox.com>2017-08-22 14:56:12 +0100
commitce9af1cc5ea23f754587448cf35b5120c77bfeef (patch)
tree69e5eaba5e75ab909ed92d5045393471b8ff3c13 /util-linux/setsid.c
parentc170026700eabb10147dd848c45c06995b43a32e (diff)
parente837a0dbbebf4229306df98fe9ee3b9bb30630c4 (diff)
downloadbusybox-w32-ce9af1cc5ea23f754587448cf35b5120c77bfeef.tar.gz
busybox-w32-ce9af1cc5ea23f754587448cf35b5120c77bfeef.tar.bz2
busybox-w32-ce9af1cc5ea23f754587448cf35b5120c77bfeef.zip
Merge branch 'busybox' into merge
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.