← Commit list

2dfdd44d9

Denis Vlasenko
Denis Vlasenko
2007-04-09
FAILED Duration: 13s

Subject

busybox: fix ": applet not found" message

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

applets/applets.c+5 -1
@@ -591,7 +591,11 @@ static int busybox_main(int argc, char **argv)
puts("\n");
return 0;
}
- } else run_applet_by_name(argv[1], argc - 1, argv + 1);
+ } else {
+ /* we want "<argv[1]>: applet not found", not "busybox: ..." */
+ applet_name = argv[1];
+ run_applet_by_name(argv[1], argc - 1, argv + 1);
+ }
bb_error_msg_and_die("applet not found");
}