summaryrefslogtreecommitdiff
path: root/miscutils/setsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/setsid.c')
-rw-r--r--miscutils/setsid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/miscutils/setsid.c b/miscutils/setsid.c
index 60ee062..c573fae 100644
--- a/miscutils/setsid.c
+++ b/miscutils/setsid.c
@@ -45,6 +45,5 @@ int setsid_main(int argc UNUSED_PARAM, char **argv)
}
argv++;
- BB_EXECVP(argv[0], argv);
- bb_perror_msg_and_die("can't execute '%s'", argv[0]);
+ BB_EXECVP_or_die(argv);
}