diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index e553f1ac..c1184a7b 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -575,6 +575,8 @@ func syncthingMain() { // Previously the ID was generated from the node ID. We now need // to generate a new one. opts.URUniqueID = randomString(6) + cfg.SetOptions(opts) + cfg.Save() } go usageReportingLoop(m) go func() {