summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-11 16:45:26 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-11 16:45:26 +0100
commitd505ba8ec1902b999786370a7ac2a4c8b28fbbe0 (patch)
treedfb23ed0358ee347ea3fd94b3343a0c0a07a9aac /src/core
parentcfa0537cc33530a70bed3b27aa9f48e2607a9bde (diff)
parentd5b26d50fca744d1b19eb8c125b047c18c61ad94 (diff)
Merge pull request #2294 from zonque/in_set
macro.h: improve IN_SET helper macro
Diffstat (limited to 'src/core')
-rw-r--r--src/core/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index f935b6a601..b977ac7f0c 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -3119,7 +3119,7 @@ int unit_kill_common(
killed = true;
}
- if (r == 0 && !killed && IN_SET(who, KILL_ALL_FAIL, KILL_CONTROL_FAIL, KILL_ALL_FAIL))
+ if (r == 0 && !killed && IN_SET(who, KILL_ALL_FAIL, KILL_CONTROL_FAIL))
return -ESRCH;
return r;