mirror of
https://github.com/octoleo/syncthing.git
synced 2024-09-19 21:29:01 +00:00
Don't stop permanently on exit (fixes #637)
This commit is contained in:
parent
97cb3fa5a5
commit
14aea365c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user