aboutsummaryrefslogtreecommitdiffstats
path: root/src/quit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quit.h')
-rw-r--r--src/quit.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/quit.h b/src/quit.h
index 93eb799..2487742 100644
--- a/src/quit.h
+++ b/src/quit.h
@@ -22,6 +22,12 @@
#include "passphrase.h"
+/* Number of seconds to sleep on error, so the user has time to read the error message */
+#ifndef ERROR_SLEEP
+#define ERROR_SLEEP 2
+#endif
+
+
/**
* Quit function for timeout
*
@@ -29,7 +35,6 @@
*/
void timeout_quit(int signal);
-
/**
* Quit function for user aborts
*