[sudo-commits] sudo changeset 12492:f02ac319b458

Todd C. Miller Todd.Miller at sudo.ws
Thu Jun 18 19:07:09 MDT 2020


changeset:	12492:f02ac319b458 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/f02ac319b458
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.

diffstat:

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



More information about the sudo-commits mailing list