summaryrefslogtreecommitdiff
path: root/src/core/kill.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-21 15:04:23 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-21 15:04:23 +0200
commit26ce77961868085c47156adaacb48913e1952da3 (patch)
tree52842127e6a9e43574fe8e03c82b66769f0fdf4c /src/core/kill.h
parent213634e47674a3e5eb64a61cdab22c71df7a8894 (diff)
parentac5e3a505e49c80b56c971a8fc13bacac961640d (diff)
Merge pull request #1311 from jsynacek/kill-errors-v2
core: extend KillUnit() to return error when no unit was killed
Diffstat (limited to 'src/core/kill.h')
-rw-r--r--src/core/kill.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/kill.h b/src/core/kill.h
index d5f125fa41..5d97abb104 100644
--- a/src/core/kill.h
+++ b/src/core/kill.h
@@ -50,6 +50,9 @@ typedef enum KillWho {
KILL_MAIN,
KILL_CONTROL,
KILL_ALL,
+ KILL_MAIN_FAIL,
+ KILL_CONTROL_FAIL,
+ KILL_ALL_FAIL,
_KILL_WHO_MAX,
_KILL_WHO_INVALID = -1
} KillWho;