Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
/*bb_error_msg_and_die("applet not found"); - sucks in printf */
full_write2_str(applet_name);
full_write2_str(": applet not found\n");
- xfunc_die();
+ /* POSIX: "If a command is not found, the exit status shall be 127" */
+ exit(127);
}
void FAST_FUNC run_applet_no_and_exit(int applet_no, char **argv)
/*bb_error_msg_and_die("applet not found"); - sucks in printf */
full_write2_str(applet_name);
full_write2_str(": applet not found\n");
- xfunc_die();
+ /* POSIX: "If a command is not found, the exit status shall be 127" */
+ exit(127);
#endif
}