aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/appletlib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 8801c732d..bf9ae4603 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -1113,6 +1113,10 @@ int busybox_main(int argc UNUSED_PARAM, char **argv)
1113 /* We support "busybox /a/path/to/applet args..." too. Allows for 1113 /* We support "busybox /a/path/to/applet args..." too. Allows for
1114 * "#!/bin/busybox"-style wrappers 1114 * "#!/bin/busybox"-style wrappers
1115 */ 1115 */
1116# if ENABLE_PLATFORM_MINGW32
1117 if (interp)
1118 --interp;
1119# endif
1116 applet_name = bb_get_last_path_component_nostrip(argv[0]); 1120 applet_name = bb_get_last_path_component_nostrip(argv[0]);
1117 } 1121 }
1118 run_applet_and_exit(applet_name, argv); 1122 run_applet_and_exit(applet_name, argv);