diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-11-01 17:25:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-01 17:25:49 +0100 |
commit | acc35e51299097cf3f3c466c825a045d0efde0dd (patch) | |
tree | 82b0652726d88daed2418ebbcc73a44df7bb16d9 /src/analyze | |
parent | resolve: remove always-true superflous check and rename label (diff) | |
parent | TEST-03-JOBS: add test case for #34758 (diff) | |
download | systemd-acc35e51299097cf3f3c466c825a045d0efde0dd.tar.xz systemd-acc35e51299097cf3f3c466c825a045d0efde0dd.zip |
core/service: don't propagate stop jobs if RestartMode=direct (#34768)
Fixes https://github.com/systemd/systemd/issues/34758
Diffstat (limited to 'src/analyze')
-rw-r--r-- | src/analyze/analyze-verify-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze/analyze-verify-util.c b/src/analyze/analyze-verify-util.c index 017d4b4672..97f5449b0b 100644 --- a/src/analyze/analyze-verify-util.c +++ b/src/analyze/analyze-verify-util.c @@ -251,7 +251,7 @@ static int verify_unit(Unit *u, bool check_man, const char *root) { unit_dump(u, stdout, "\t"); log_unit_debug(u, "Creating %s/start job", u->id); - r = manager_add_job(u->manager, JOB_START, u, JOB_REPLACE, NULL, &error, NULL); + r = manager_add_job(u->manager, JOB_START, u, JOB_REPLACE, &error, /* ret = */ NULL); if (r < 0) log_unit_error_errno(u, r, "Failed to create %s/start: %s", u->id, bus_error_message(&error, r)); |