aboutsummaryrefslogtreecommitdiffstats
path: root/src/login.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/login.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/login.c b/src/login.c
index 3ad1204..32f118f 100644
--- a/src/login.c
+++ b/src/login.c
@@ -193,5 +193,8 @@ void exec_shell(struct passwd* entry)
*(child_argv + child_argc) = NULL;
execvp(*child_argv, child_argv + 1);
+ perror("execvp");
+ sleep(ERROR_SLEEP);
+ _exit(1);
}