From 201f0c916d8f65ad2595a651b1371fcd39a4cf55 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Sun, 10 Jan 2016 18:10:08 +0100 Subject: tree-wide: unify argument lists of IN_SET() The new implementation will not allow passing the same values more than once, so clean up first. --- src/core/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') 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; -- cgit v1.2.3-54-g00ecf