-/* $OpenBSD: main.c,v 1.54 2015/10/21 16:06:57 millert Exp $ */
+/* $OpenBSD: main.c,v 1.55 2015/10/25 03:40:58 guenther Exp $ */
/* $NetBSD: main.c,v 1.3 1995/03/21 09:04:44 cgd Exp $ */
/* main.c: This file contains the main control and user-interface routines
signal(SIGHUP, signal_hup);
signal(SIGQUIT, SIG_IGN);
signal(SIGINT, signal_int);
- if ((status = sigsetjmp(env, 1))) {
+ if (sigsetjmp(env, 1)) {
+ status = -1;
fputs("\n?\n", stderr);
seterrmsg("interrupt");
} else {