Fix indenting
authorjob <job@openbsd.org>
Wed, 1 Sep 2021 16:11:30 +0000 (16:11 +0000)
committerjob <job@openbsd.org>
Wed, 1 Sep 2021 16:11:30 +0000 (16:11 +0000)
Feedback from deraadt@

usr.bin/timeout/timeout.c

index b2db5f1..48bb2ea 100644 (file)
@@ -137,7 +137,6 @@ sig_handler(int signo)
        }
 
        switch(signo) {
-       case 0:
        case SIGINT:
        case SIGHUP:
        case SIGQUIT:
@@ -181,15 +180,8 @@ main(int argc, char **argv)
        bool            timedout = false;
        bool            do_second_kill = false;
        struct          sigaction signals;
-       int             signums[] = {
-               -1,
-               SIGTERM,
-               SIGINT,
-               SIGHUP,
-               SIGCHLD,
-               SIGALRM,
-               SIGQUIT,
-       };
+       int             signums[] = {-1, SIGTERM, SIGINT, SIGHUP, SIGCHLD,
+                           SIGALRM, SIGQUIT};
 
        const struct option longopts[] = {
                { "preserve-status", no_argument,       &preserve,    1 },