diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-11-19 02:19:08 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-11-19 02:19:08 +0100 |
commit | c3a88777291223b4ed750a3450abc373ecab8ecb (patch) | |
tree | 44065ac3ac76791d6f77452abd2d8e94cbc911f6 /src/login.c | |
parent | m (diff) | |
download | libpassphrase-c3a88777291223b4ed750a3450abc373ecab8ecb.tar.gz libpassphrase-c3a88777291223b4ed750a3450abc373ecab8ecb.tar.bz2 libpassphrase-c3a88777291223b4ed750a3450abc373ecab8ecb.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/login.c | 3 |
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); } |