aboutsummaryrefslogtreecommitdiffstats
path: root/getpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'getpass.c')
-rw-r--r--getpass.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/getpass.c b/getpass.c
index 7010209f..12f58627 100644
--- a/getpass.c
+++ b/getpass.c
@@ -189,6 +189,7 @@ static void restore_tty_state(void)
static RETSIGTYPE sigint_handler(int signum)
{
+ (void)signum;
restore_tty_state();
report(stderr, GT_("\nCaught SIGINT... bailing out.\n"));
exit(1);