diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index 350a35ff9..6333bbcb4 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -208,7 +208,7 @@ func main() { infof("Starting web GUI on http://%s:%d/", hostShow, addr.Port) startGUI(cfg.Options.GUIAddress, m) - if cfg.Options.StartBrowser { + if cfg.Options.StartBrowser && len(os.Getenv("STRESTART")) == 0 { openURL(fmt.Sprintf("http://%s:%d", hostOpen, addr.Port)) } }