mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 21:38:05 +00:00
Correct a misleading debug message.
This commit is contained in:
parent
eb4506f434
commit
0a39814e4b
@ -1233,7 +1233,7 @@ exec_pty(struct command_details *details,
|
|||||||
sudo_fatal("dup");
|
sudo_fatal("dup");
|
||||||
} else {
|
} else {
|
||||||
sudo_debug_printf(SUDO_DEBUG_INFO,
|
sudo_debug_printf(SUDO_DEBUG_INFO,
|
||||||
"stderr /dev/tty, creating a pipe");
|
"stderr not user's tty, creating a pipe");
|
||||||
if (pipe2(io_pipe[STDERR_FILENO], O_CLOEXEC) != 0)
|
if (pipe2(io_pipe[STDERR_FILENO], O_CLOEXEC) != 0)
|
||||||
sudo_fatal("%s", U_("unable to create pipe"));
|
sudo_fatal("%s", U_("unable to create pipe"));
|
||||||
io_buf_new(io_pipe[STDERR_FILENO][0], STDERR_FILENO,
|
io_buf_new(io_pipe[STDERR_FILENO][0], STDERR_FILENO,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user