otherwise setsid wants to interpret <program> arguments
$ setsid sh -i
setsid: invalid option -- 'i'
Usage:
setsid [options] <program> [arguments ...]
Signed-off-by: Harald Hoyer <harald@redhat.com>
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
- while ((ch = getopt_long(argc, argv, "Vh", longopts, NULL)) != -1)
+ while ((ch = getopt_long(argc, argv, "+Vh", longopts, NULL)) != -1)
switch (ch) {
case 'V':
printf(UTIL_LINUX_VERSION);