diff options
Diffstat (limited to 'shell/msh.c')
-rw-r--r-- | shell/msh.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/shell/msh.c b/shell/msh.c index e7059507a..5dc0b2b51 100644 --- a/shell/msh.c +++ b/shell/msh.c | |||
@@ -2836,9 +2836,6 @@ char *c, **v, **envp; | |||
2836 | 2836 | ||
2837 | #ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL | 2837 | #ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL |
2838 | char *name = c; | 2838 | char *name = c; |
2839 | #ifdef CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN | ||
2840 | name = bb_get_last_path_component(name); | ||
2841 | #endif | ||
2842 | optind = 1; | 2839 | optind = 1; |
2843 | if (find_applet_by_name(name)) { | 2840 | if (find_applet_by_name(name)) { |
2844 | /* We have to exec here since we vforked. Running | 2841 | /* We have to exec here since we vforked. Running |