diff options
Diffstat (limited to 'libbb/run_shell.c')
-rw-r--r-- | libbb/run_shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/run_shell.c b/libbb/run_shell.c index b2b4216f4..239887d85 100644 --- a/libbb/run_shell.c +++ b/libbb/run_shell.c @@ -67,7 +67,7 @@ void run_shell(const char *shell, int loginshell, const char *command, const cha args = xmalloc(sizeof(char*) * (4 + additional_args_cnt)); - args[0] = bb_get_last_path_component(xstrdup(shell)); + args[0] = bb_get_last_path_component_nostrip(xstrdup(shell)); if (loginshell) args[0] = xasprintf("-%s", args[0]); |