summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-22 02:42:59 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-22 02:42:59 +0200
commitc497c7a9e4db487eab4f92421a74d721d9558186 (patch)
tree6699ec66f8f69fd8a8432f88bb5d67eab50b04ea /job.c
parentc9c0cadbf8d8e4c1b99c35a8150c08558f361ebd (diff)
manager: introduce 'isolate' job mode which kills all units but the requested one
Diffstat (limited to 'job.c')
-rw-r--r--job.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/job.c b/job.c
index 3210bb42c2..f35c91c4df 100644
--- a/job.c
+++ b/job.c
@@ -577,7 +577,8 @@ DEFINE_STRING_TABLE_LOOKUP(job_type, JobType);
static const char* const job_mode_table[_JOB_MODE_MAX] = {
[JOB_FAIL] = "fail",
- [JOB_REPLACE] = "replace"
+ [JOB_REPLACE] = "replace",
+ [JOB_ISOLATE] = "isolate"
};
DEFINE_STRING_TABLE_LOOKUP(job_mode, JobMode);