summaryrefslogtreecommitdiff
path: root/src/core/kill.h
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2015-09-18 11:56:53 +0200
committerJan Synacek <jsynacek@redhat.com>2015-09-21 10:05:49 +0200
commitac5e3a505e49c80b56c971a8fc13bacac961640d (patch)
treee3cae8e85e61140e2c4b983240ed7cff62c0ba90 /src/core/kill.h
parent8c710f3ce64110a4cfe977116c55bd87777e641c (diff)
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;