summaryrefslogtreecommitdiff
blob: 051472519be0c7ed5223f10c78d99109fde31a45 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- sysvinit/src/init.c
+++ sysvinit/src/init.c
@@ -1893,7 +1893,7 @@ void re_exec(void)
 	 *	The existing init process execs a new init binary.
 	 */
 	env = init_buildenv(0);
-	execl(myname, myname, "--init", NULL, env);
+	execle(myname, myname, "--init", NULL, env);
 
 	/*
 	 *	We shouldn't be here, something failed.