chiark / gitweb /
tree-wide: use IN_SET where possible
[elogind.git] / src / basic / signal-util.c
index 8e83bfcf0d960c433406fc9717bc49c8604a8d72..043c71466ce66ebc2fc528de920b0f46a8197351 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