3 1 file changed, 3 insertions(+), 3 deletions(-)
5 diff --git a/slstatus.c b/slstatus.c
6 index 96fa5b6..499cd30 100644
9 @@ -26,9 +26,8 @@ static Display *dpy;
11 terminate(const int signo)
16 + if (signo != SIGUSR1)
21 @@ -72,6 +71,7 @@ main(int argc, char *argv[])
22 act.sa_handler = terminate;
23 sigaction(SIGINT, &act, NULL);
24 sigaction(SIGTERM, &act, NULL);
25 + sigaction(SIGUSR1, &act, NULL);
27 if (!sflag && !(dpy = XOpenDisplay(NULL))) {
28 die("XOpenDisplay: Failed to open display");