aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2015-12-02 05:21:48 +0100
committerMarius Halden <marius.h@lden.org>2015-12-02 05:21:48 +0100
commit666624ad52a52f705aab72f751d1754619788c58 (patch)
treeaaef2c2df60c6d97d4fff1e8b57efeea7802091f
parent4510abfc1a80a1ef6e32d49ba42cc34bb8eec5ec (diff)
downloadsvcmon-666624ad52a52f705aab72f751d1754619788c58.tar.gz
svcmon-666624ad52a52f705aab72f751d1754619788c58.tar.bz2
svcmon-666624ad52a52f705aab72f751d1754619788c58.tar.xz
Some cleanup
-rw-r--r--svcscan.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/svcscan.c b/svcscan.c
index a0a5a10..174cbb4 100644
--- a/svcscan.c
+++ b/svcscan.c
@@ -460,7 +460,9 @@ main(int argc, char **argv)
perror("kevent()");
}
}
- if (revt[i].ident == SIGHUP || revt[i].ident == SIGINT || revt[i].ident == SIGTERM) {
+ if (revt[i].ident == SIGHUP ||
+ revt[i].ident == SIGINT ||
+ revt[i].ident == SIGTERM) {
goto end;
}
} else if (revt[i].filter == EVFILT_TIMER && revt[i].ident == 1) {