mirror of
https://github.com/octoleo/syncthing.git
synced 2025-03-17 00:02:22 +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…
x
Reference in New Issue
Block a user