commit 62b1937
uint
·
2026-07-13 15:45:57 +0000 UTC
parent b6413d6
add path to shell execlp
1 files changed,
+2,
-1
+2,
-1
1@@ -180,7 +180,8 @@ static void init(void)
2 if (shell == NULL)
3 shell = getenv("SHELL");
4
5- execl(shell, "-i", NULL);
6+ execl(shell, shell, "-i", (char *)NULL);
7+
8 _exit(127);
9 }
10