diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c index 4d25eadbb..768771037 100644 --- a/openbsd-compat/readpassphrase.c +++ b/openbsd-compat/readpassphrase.c @@ -179,6 +179,6 @@ getpass(const char *prompt) static void handler(int s) { -fprintf(stderr, "COPPED A SGNAL\n"); + signo = s; }