aboutsummaryrefslogtreecommitdiffstats
path: root/src/cerberus.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-19 00:54:52 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-19 00:54:52 +0100
commit8ddb1140a188f921b02bd5266aa3ab659734a7e6 (patch)
treea96e347e68d1c921bbae92cdde6d86a4f08f4be1 /src/cerberus.c
parentm + spawn shell (diff)
downloadlibpassphrase-8ddb1140a188f921b02bd5266aa3ab659734a7e6.tar.gz
libpassphrase-8ddb1140a188f921b02bd5266aa3ab659734a7e6.tar.bz2
libpassphrase-8ddb1140a188f921b02bd5266aa3ab659734a7e6.tar.xz
m + redisable echo when the tty has been reopened
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/cerberus.c')
-rw-r--r--src/cerberus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cerberus.c b/src/cerberus.c
index 3a5dd5d..ce60846 100644
--- a/src/cerberus.c
+++ b/src/cerberus.c
@@ -129,6 +129,9 @@ int main(int argc, char** argv)
#endif
secure_tty(tty_group);
+ /* Redisable echoing */
+ disable_echo();
+
/* Set up clean quiting and time out */
signal(SIGALRM, timeout_quit);