diff options
author | Mike Yuan <me@yhndnzj.com> | 2025-01-15 17:21:54 +0100 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2025-01-15 17:46:10 +0100 |
commit | e956a8372bc53e5c045d5fa057b4ab09734adaf0 (patch) | |
tree | 34b0b9f009bb106beb3f5ec1bdfa53ff73001887 | |
parent | mkosi: disable multipathd by default (diff) | |
download | systemd-e956a8372bc53e5c045d5fa057b4ab09734adaf0.tar.xz systemd-e956a8372bc53e5c045d5fa057b4ab09734adaf0.zip |
run: correct log level for pty_open_peer() error
Everything around it logs loudly.
-rw-r--r-- | src/run/run.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run/run.c b/src/run/run.c index 3f7e0a6360..f1564b522e 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -1966,7 +1966,7 @@ static int start_transient_service(sd_bus *bus) { peer_fd = pty_open_peer(pty_fd, O_RDWR|O_NOCTTY|O_CLOEXEC); if (peer_fd < 0) - return log_debug_errno(peer_fd, "Failed to open PTY peer: %m"); + return log_error_errno(peer_fd, "Failed to open PTY peer: %m"); // FIXME: Introduce OpenMachinePTYEx() that accepts ownership/permission as param // and additionally returns the pty fd, for #33216 and #32999 |