summaryrefslogtreecommitdiff
path: root/usr.bin/timeout
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2021-09-01 16:11:31 +0000
committerJob Snijders <job@cvs.openbsd.org>2021-09-01 16:11:31 +0000
commit50f5e9c5592d1a504e892091c1d9fccd3c64d93b (patch)
treed10940a92421e285f0495f4633e11bc4655cb093 /usr.bin/timeout
parent7c648a178c8a3fc2a1e63b3fd99c359e610b2269 (diff)
Fix indenting
Feedback from deraadt@
Diffstat (limited to 'usr.bin/timeout')
-rw-r--r--usr.bin/timeout/timeout.c12
1 files 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 },