]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/signal-util.c
tree-wide: use IN_SET where possible
[thirdparty/systemd.git] / src / basic / signal-util.c
index 280b5c3251ecc53f84baf906be816522e3f7a72c..df6b742fde9f9f608048f6dd30d15aa1bc6ba64f 100644 (file)
@@ -38,7 +38,7 @@ int reset_all_signal_handlers(void) {
         for (sig = 1; sig < _NSIG; sig++) {
 
                 /* These two cannot be caught... */
-                if (sig == SIGKILL || sig == SIGSTOP)
+                if (IN_SET(sig, SIGKILL, SIGSTOP))
                         continue;
 
                 /* On Linux the first two RT signals are reserved by