diff options
-rw-r--r-- | slstatus.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -861,6 +861,10 @@ main(int argc, char *argv[]) usage(); } ARGEND + if (argc) { + usage(); + } + memset(&act, 0, sizeof(act)); act.sa_handler = sighandler; sigaction(SIGINT, &act, 0); |