diff options
-rw-r--r-- | miscutils/drop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/miscutils/drop.c b/miscutils/drop.c index a1344ab65..bef1fa52b 100644 --- a/miscutils/drop.c +++ b/miscutils/drop.c | |||
@@ -140,6 +140,8 @@ int drop_main(int argc UNUSED_PARAM, char **argv) | |||
140 | case 'd': | 140 | case 'd': |
141 | if (opt_shell) { | 141 | if (opt_shell) { |
142 | arg = bb_basename(opt_shell); | 142 | arg = bb_basename(opt_shell); |
143 | if (strcasecmp(arg, "cmd.exe") == 0) | ||
144 | opt = "/c"; | ||
143 | exe = file_is_win32_exe(opt_shell); | 145 | exe = file_is_win32_exe(opt_shell); |
144 | } else { | 146 | } else { |
145 | arg = "sh"; | 147 | arg = "sh"; |