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

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;