The below demonstrates what happen before this change. $ setsid --wait setsid: child 3252 did not exit normally: Success Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- sys-utils/setsid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-utils/setsid.c b/sys-utils/setsid.c index 71d552f..1abf95b 100644 --- a/sys-utils/setsid.c +++ b/sys-utils/setsid.c @@ -89,7 +89,7 @@ int main(int argc, char **argv) usage(stderr); } - if (argc < 2) + if (argc - optind < 1) usage(stderr); if (getpgrp() == getpid()) { -- 2.6.4 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html