Commit bb111c0
committed
log_server_accept: Just return if disabled flag set in closure
If the connection the the log server was interrupted but we are
continuing anyway ("ignore_logfile_errors" set), we don't want to
try to log additional commands if "log_subscmds" or "intercept" are
enabled in sudoers.1 parent 865f11c commit bb111c0
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
251 | 254 | | |
252 | 255 | | |
253 | 256 | | |
| |||
301 | 304 | | |
302 | 305 | | |
303 | 306 | | |
304 | | - | |
305 | | - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
306 | 312 | | |
307 | 313 | | |
308 | 314 | | |
| |||
0 commit comments