[sudo-commits] sudo changeset 12315:9492d60783fe

Todd C. Miller Todd.Miller at sudo.ws
Tue Mar 31 13:38:01 MDT 2020

changeset:	12315:9492d60783fe in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/9492d60783fe
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Mar 31 08:49:30 2020 -0600

Log Message:
	Don't kill the command just because the loop exited unexpectedly.
	We currently have no good way to distinguish between an error
	executing the command and an error while the command is running.

	In the future, we should have additional status codes so we
	can tell what type of condition caused the loop to exit.

	For now, only kill the command if cstat is left uninitialized.


 src/exec_pty.c |  19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

More information about the sudo-commits mailing list