2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 13:28:10 +00:00

Merge pull request #208 from BornThisWay/1121_return

intercept_read: Print and then return.
This commit is contained in:
Todd C. Miller 2022-11-20 19:20:03 -07:00 committed by GitHub
commit 6a5546b11f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;