summaryrefslogtreecommitdiff
path: root/slstatus.c
diff options
context:
space:
mode:
Diffstat (limited to 'slstatus.c')
-rw-r--r--slstatus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/slstatus.c b/slstatus.c
index cddc79a..d17bae7 100644
--- a/slstatus.c
+++ b/slstatus.c
@@ -843,6 +843,7 @@ main(int argc, char *argv[])
}
setlocale(LC_ALL, "");
+
memset(&act, 0, sizeof(act));
act.sa_handler = terminate;
sigaction(SIGINT, &act, NULL);