mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
run: correct log level for pty_open_peer() error
Everything around it logs loudly.
This commit is contained in:
parent
7adf6ce3ca
commit
e956a8372b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user