mirror of https://github.com/mirror/busybox.git
If it fails to run a builtin, let it fall through to
exec the real thing. -Erik1_00_stable_10817
parent
e6bf66eada
commit
e5ffb911e8
1
hush.c
1
hush.c
|
@ -1019,7 +1019,6 @@ static void pseudo_exec(struct child_prog *child)
|
||||||
optind = 1;
|
optind = 1;
|
||||||
debug_printf("running applet %s\n", name);
|
debug_printf("running applet %s\n", name);
|
||||||
run_applet_by_name(name, argc_l, child->argv);
|
run_applet_by_name(name, argc_l, child->argv);
|
||||||
exit(1);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
debug_printf("exec of %s\n",child->argv[0]);
|
debug_printf("exec of %s\n",child->argv[0]);
|
||||||
|
|
|
@ -1019,7 +1019,6 @@ static void pseudo_exec(struct child_prog *child)
|
||||||
optind = 1;
|
optind = 1;
|
||||||
debug_printf("running applet %s\n", name);
|
debug_printf("running applet %s\n", name);
|
||||||
run_applet_by_name(name, argc_l, child->argv);
|
run_applet_by_name(name, argc_l, child->argv);
|
||||||
exit(1);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
debug_printf("exec of %s\n",child->argv[0]);
|
debug_printf("exec of %s\n",child->argv[0]);
|
||||||
|
|
Loading…
Reference in New Issue