From c4e81f136805b07a96625aba7175bdee83c1aa2c Mon Sep 17 00:00:00 2001 From: job Date: Wed, 1 Sep 2021 16:11:30 +0000 Subject: [PATCH] Fix indenting Feedback from deraadt@ --- usr.bin/timeout/timeout.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/usr.bin/timeout/timeout.c b/usr.bin/timeout/timeout.c index b2db5f15cb3..48bb2ea6739 100644 --- a/usr.bin/timeout/timeout.c +++ b/usr.bin/timeout/timeout.c @@ -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 }, -- 2.20.1