aboutsummaryrefslogtreecommitdiff
path: root/gmid.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-07-07 09:46:37 +0000
committerOmar Polo <op@omarpolo.com>2021-07-07 09:46:37 +0000
commita8a1f439210de9538b196c6bb5470c306379128c (patch)
tree53c25939117755a85860dab8670cc7faaad56635 /gmid.c
parent68ef1170922d8c457b529dd7f64dc207a3c8b5a3 (diff)
style(9)-ify
Diffstat (limited to 'gmid.c')
-rw-r--r--gmid.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gmid.c b/gmid.c
index ba1948b..6f349a6 100644
--- a/gmid.c
+++ b/gmid.c
@@ -657,9 +657,11 @@ main(int argc, char **argv)
pidfd = write_pidfile(pidfile);
- /* Linux seems to call the event handlers even when we're
+ /*
+ * Linux seems to call the event handlers even when we're
* doing a sigwait. These dummy handlers are here to avoid
- * being terminated on SIGHUP, SIGINT or SIGTERM. */
+ * being terminated on SIGHUP, SIGINT or SIGTERM.
+ */
signal(SIGHUP, dummy_handler);
signal(SIGINT, dummy_handler);
signal(SIGTERM, dummy_handler);