chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tree-wide: use IN_SET where possible
[elogind.git]
/
src
/
basic
/
signal-util.c
diff --git
a/src/basic/signal-util.c
b/src/basic/signal-util.c
index 8e83bfcf0d960c433406fc9717bc49c8604a8d72..043c71466ce66ebc2fc528de920b0f46a8197351 100644
(file)
--- a/
src/basic/signal-util.c
+++ b/
src/basic/signal-util.c
@@
-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