mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 20:29:42 +00:00
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)
|
||||
/* 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 */
|
||||
argv++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user