exclude the case of just "busybox" from previous commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
8f0af3b001
commit
0ab45da929
@ -812,7 +812,7 @@ int main(int argc UNUSED_PARAM, char **argv)
|
|||||||
|
|
||||||
#if defined(SINGLE_APPLET_MAIN)
|
#if defined(SINGLE_APPLET_MAIN)
|
||||||
/* Only one applet is selected in .config */
|
/* Only one applet is selected in .config */
|
||||||
if (strncmp(argv[0], "busybox", 7) == 0) {
|
if (argv[1] && strncmp(argv[0], "busybox", 7) == 0) {
|
||||||
/* "busybox <applet> <params>" should still work as expected */
|
/* "busybox <applet> <params>" should still work as expected */
|
||||||
argv++;
|
argv++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user