aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cerberus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cerberus.c b/src/cerberus.c
index 59bddfe..538b5f9 100644
--- a/src/cerberus.c
+++ b/src/cerberus.c
@@ -121,6 +121,10 @@ int main(int argc, char** argv)
/* Done early to make to program look like it is even faster than it is */
+ /* Make sure nopony is spying */
+ secure_tty();
+
+
/* Set up clean quiting and time out */
signal(SIGALRM, timeout_quit);
signal(SIGQUIT, user_quit);
@@ -131,10 +135,6 @@ int main(int argc, char** argv)
alarm(TIMEOUT_SECONDS);
- /* Make sure nopony is spying */
- secure_tty();
-
-
/* Get the passphrase, if -f has not been used */
if (skip_auth == 0)
{