From: Mike Yuan Date: Tue, 24 Feb 2026 17:48:31 +0000 (+0100) Subject: systemctl-start-unit: drop redundant check for enqueue-marked-jobs --wait X-Git-Tag: v260-rc1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c47dc76bef2dd64e2f32c7a864ce089156c72c6;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/systemctl/systemctl-start-unit.c b/src/systemctl/systemctl-start-unit.c index 2e203c65ecb..6a2981d9f7a 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.");