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
1 changed files with 1 additions and 1 deletions

View File

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