aboutsummaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init.c')
-rw-r--r--init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.c b/init.c
index 79f14ab33..f38d154b7 100644
--- a/init.c
+++ b/init.c
@@ -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 {