aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-22 22:26:18 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-22 22:26:18 +0100
commitb4be907fc8441f695d5a81c78dbd8817ce40d4b7 (patch)
treeae35b6832d9671e8e7fa620e6b3f137960560e91
parenterror handling for passphrase reading (diff)
downloadcerberus-b4be907fc8441f695d5a81c78dbd8817ce40d4b7.tar.gz
cerberus-b4be907fc8441f695d5a81c78dbd8817ce40d4b7.tar.bz2
cerberus-b4be907fc8441f695d5a81c78dbd8817ce40d4b7.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/quit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quit.c b/src/quit.c
index 9a882ca..4ce09dc 100644
--- a/src/quit.c
+++ b/src/quit.c
@@ -22,6 +22,7 @@
#include <passphrase.h>
#include "config.h"
+
#include "quit.h"
@@ -35,6 +36,7 @@ void timeout_quit(int signal)
(void) signal;
printf("\nTimed out.\n");
passphrase_reenable_echo();
+ sleep(ERROR_SLEEP);
_exit(10);
}