From 50f5e9c5592d1a504e892091c1d9fccd3c64d93b Mon Sep 17 00:00:00 2001 From: Job Snijders Date: Wed, 1 Sep 2021 16:11:31 +0000 Subject: Fix indenting Feedback from deraadt@ --- usr.bin/timeout/timeout.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'usr.bin/timeout') 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 }, -- cgit v1.2.3