aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/user_init/user_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user_init/user_init.c b/src/user_init/user_init.c
index 1f79ec90..ab2f1be6 100644
--- a/src/user_init/user_init.c
+++ b/src/user_init/user_init.c
@@ -19,5 +19,5 @@ int main(int argc, char **argv) {
|| setuid(user->pw_uid) == -1)
return 1;
- execl(user->pw_shell, "-", "-c", USERINIT, argv[2], NULL);
+ execl(user->pw_shell, user->pw_shell, "-c", USERINIT, argv[2], NULL);
}