systemctl-start-unit: drop redundant check for enqueue-marked-jobs --wait

Follow-up for c008f88ded

The check at the beginning of the function already covers this.
This commit is contained in:
Mike Yuan
2026-02-25 05:09:38 +09:00
committed by Yu Watanabe
parent a851c5118b
commit 3c47dc76be
-4
View File
@@ -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.");