diff options
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -891,7 +891,7 @@ extern int init_main(int argc, char **argv) | |||
891 | /* Expect to be invoked as init with PID=1 or be invoked as linuxrc */ | 891 | /* Expect to be invoked as init with PID=1 or be invoked as linuxrc */ |
892 | if (getpid() != 1 | 892 | if (getpid() != 1 |
893 | #ifdef BB_FEATURE_LINUXRC | 893 | #ifdef BB_FEATURE_LINUXRC |
894 | && strstr(argv[0], "linuxrc") == NULL | 894 | && strstr(applet_name, "linuxrc") == NULL |
895 | #endif | 895 | #endif |
896 | ) | 896 | ) |
897 | { | 897 | { |