Archived
Don't stop permanently on exit (fixes #637)
This commit is contained in:
1 parent
97cb3fa5a5
commit
14aea365c5
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user