From d23f1dc2b62707ef715317cb424cfc8e0ab2458f Mon Sep 17 00:00:00 2001 From: ian Date: Thu, 5 Jan 2006 02:08:02 +0000 Subject: [PATCH] fail somewhat more nicely --- hostside/stopgap-controller | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hostside/stopgap-controller b/hostside/stopgap-controller index ce969a3..8f89014 100755 --- a/hostside/stopgap-controller +++ b/hostside/stopgap-controller @@ -408,9 +408,9 @@ proc changewhat {} { proc onreadcmd {} { if {[gets stdin l] < 0} { if {[eof stdin]} { - puts stderr "stopgap-controller got eof, quitting" puts "GUI exit 0" - exit 0 + fail "stopgap-controller got eof, quitting" + fileevent stdin readable {} } return } -- 2.30.2