]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
run: "trigger" consists of more than timer units
authorMike Yuan <me@yhndnzj.com>
Sun, 16 Mar 2025 23:26:45 +0000 (00:26 +0100)
committerMike Yuan <me@yhndnzj.com>
Mon, 17 Mar 2025 00:37:29 +0000 (01:37 +0100)
src/run/run.c

index acec362a40b2e2dcbfe89e22ccd37df8a2b686df..7d66590b34910ccd94263ceebc15e9499940484d 100644 (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),