diff options
author | Kevin Kuehler <keur@xcf.berkeley.edu> | 2019-11-01 08:54:03 +0100 |
---|---|---|
committer | Kevin Kuehler <keur@xcf.berkeley.edu> | 2019-11-05 20:17:38 +0100 |
commit | 1f0f9f21c1b19e1e450c3c2696955fd6f442ca2b (patch) | |
tree | c27260e7baf7061a571f3a0cc3a6976b0879eea3 /src/core/job.c | |
parent | Fix CID 1406578: Resource leaks (RESOURCE_LEAK) (diff) | |
download | systemd-1f0f9f21c1b19e1e450c3c2696955fd6f442ca2b.tar.xz systemd-1f0f9f21c1b19e1e450c3c2696955fd6f442ca2b.zip |
core: Add triggering job mode
When used with systemctl stop, follows TRIGGERED_BY dependencies and
adds them to the same transaction.
Fixes: #3043
Diffstat (limited to 'src/core/job.c')
-rw-r--r-- | src/core/job.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/job.c b/src/core/job.c index 9537366eb9..86185296dd 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -1610,6 +1610,7 @@ static const char* const job_mode_table[_JOB_MODE_MAX] = { [JOB_FLUSH] = "flush", [JOB_IGNORE_DEPENDENCIES] = "ignore-dependencies", [JOB_IGNORE_REQUIREMENTS] = "ignore-requirements", + [JOB_TRIGGERING] = "triggering", }; DEFINE_STRING_TABLE_LOOKUP(job_mode, JobMode); |