Skip to content

Commit 3c47dc7

Browse files
YHNdnzjyuwata
authored andcommitted
systemctl-start-unit: drop redundant check for enqueue-marked-jobs --wait
Follow-up for c008f88 The check at the beginning of the function already covers this.
1 parent a851c51 commit 3c47dc7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/systemctl/systemctl-start-unit.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,6 @@ int verb_start(int argc, char *argv[], void *userdata) {
336336
is_enqueue_marked_jobs = true;
337337
method = job_type = mode = NULL;
338338

339-
if (arg_wait)
340-
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
341-
"--wait is not supported for enqueue-marked-jobs.");
342-
343339
if (arg_show_transaction)
344340
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
345341
"--show-transaction is not supported for enqueue-marked-jobs.");

0 commit comments

Comments
 (0)