run: "trigger" consists of more than timer units

This commit is contained in:
Mike Yuan
2025-03-17 00:26:45 +01:00
parent 369c232538
commit 99a7386a9e

View File

@@ -764,7 +764,7 @@ static int parse_argv(int argc, char *argv[]) {
if (arg_stdio != ARG_STDIO_NONE) {
if (with_trigger || arg_scope)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
"--pty/--pty-late/--pipe is not compatible in timer or --scope mode.");
"--pty/--pty-late/--pipe is not compatible in trigger (path/socket/timer units) or --scope mode.");
if (arg_transport == BUS_TRANSPORT_REMOTE)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),