Don't start the browser on restarts (fixes #636)

This commit is contained in:
Jakob Borg 2014-09-06 07:35:27 +02:00
parent 14aea365c5
commit 84eb729bd4

View File

@ -95,6 +95,10 @@ func monitorMain() {
l.Infoln("Syncthing exited:", err)
time.Sleep(1 * time.Second)
// Let the next child process know that this is not the first time
// it's starting up.
os.Setenv("STRESTART", "yes")
}
}