summaryrefslogtreecommitdiffhomepage
path: root/shell/cttyhack.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/cttyhack.c')
-rw-r--r--shell/cttyhack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/cttyhack.c b/shell/cttyhack.c
index bde2acdc9..67736ad62 100644
--- a/shell/cttyhack.c
+++ b/shell/cttyhack.c
@@ -81,6 +81,5 @@ int cttyhack_main(int argc UNUSED_PARAM, char **argv)
}
}
- BB_EXECVP(argv[0], argv);
- bb_perror_msg_and_die("can't execute '%s'", argv[0]);
+ BB_EXECVP_or_die(argv);
}