2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 13:58:05 +00:00

intercept_read: Print and then return.

This commit is contained in:
modric 2022-11-21 09:57:14 +08:00
parent 496ae6e6f0
commit b1af59aa56

View File

@ -666,10 +666,10 @@ intercept_read(int fd, struct intercept_closure *closure)
goto done; goto done;
default: default:
if (errno == EINTR || errno == EAGAIN) { if (errno == EINTR || errno == EAGAIN) {
debug_return_bool(true);
sudo_debug_printf( sudo_debug_printf(
SUDO_DEBUG_WARN|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO, SUDO_DEBUG_WARN|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO,
"reading intercept token"); "reading intercept token");
debug_return_bool(true);
} }
sudo_warn("recv"); sudo_warn("recv");
goto done; goto done;