Don't stop permanently on exit (fixes #637)

This commit is contained in:
Jakob Borg
2014-09-06 07:28:57 +02:00
parent 97cb3fa5a5
commit 14aea365c5

View File

@@ -86,7 +86,7 @@ func monitorMain() {
cmd.Process.Kill() cmd.Process.Kill()
<-exit <-exit
return return
case <-exit: case err = <-exit:
if err == nil { if err == nil {
// Successfull exit indicates an intentional shutdown // Successfull exit indicates an intentional shutdown
return return