summaryrefslogtreecommitdiff
path: root/miscutils/chrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/chrt.c')
-rw-r--r--miscutils/chrt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/miscutils/chrt.c b/miscutils/chrt.c
index 3d0da58..d5f87c4 100644
--- a/miscutils/chrt.c
+++ b/miscutils/chrt.c
@@ -120,6 +120,5 @@ int chrt_main(int argc UNUSED_PARAM, char **argv)
if (!argv[0]) /* "-p <priority> <pid> [...]" */
goto print_rt_info;
- BB_EXECVP(argv[0], argv);
- bb_perror_msg_and_die("can't execute '%s'", argv[0]);
+ BB_EXECVP_or_die(argv);
}