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;
default:
if (errno == EINTR || errno == EAGAIN) {
debug_return_bool(true);
sudo_debug_printf(
SUDO_DEBUG_WARN|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO,
"reading intercept token");
debug_return_bool(true);
}
sudo_warn("recv");
goto done;