From 3c47dc76bef2dd64e2f32c7a864ce089156c72c6 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Tue, 24 Feb 2026 18:48:31 +0100 Subject: [PATCH] systemctl-start-unit: drop redundant check for enqueue-marked-jobs --wait Follow-up for c008f88dede789ce4572c21a2bca16ff7eede193 The check at the beginning of the function already covers this. --- src/systemctl/systemctl-start-unit.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/systemctl/systemctl-start-unit.c b/src/systemctl/systemctl-start-unit.c index 2e203c65ec..6a2981d9f7 100644 --- a/src/systemctl/systemctl-start-unit.c +++ b/src/systemctl/systemctl-start-unit.c @@ -336,10 +336,6 @@ int verb_start(int argc, char *argv[], void *userdata) { is_enqueue_marked_jobs = true; method = job_type = mode = NULL; - if (arg_wait) - return log_error_errno(SYNTHETIC_ERRNO(EINVAL), - "--wait is not supported for enqueue-marked-jobs."); - if (arg_show_transaction) return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "--show-transaction is not supported for enqueue-marked-jobs.");