From 1392cfc72dfeb81d81b1a297141934a631d56c99 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sun, 7 Dec 2014 15:49:11 +0100 Subject: [PATCH] Actually commit and use new random UR ID --- cmd/syncthing/main.go | 2 ++ 1 file changed, 2 insertions(+) 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() {