From dbe12cca4b3a8072bc6db8caf047100792657ba9 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sun, 30 Mar 2014 23:11:55 +0200 Subject: [PATCH] Give the default repository an ID (fixes #106) --- cmd/syncthing/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index 02d273b11..fe7e1eaae 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -153,6 +153,7 @@ func main() { cfg, err = readConfigXML(nil) cfg.Repositories = []RepositoryConfiguration{ { + ID: "default", Directory: filepath.Join(getHomeDir(), "Sync"), Nodes: []NodeConfiguration{ {NodeID: myID, Addresses: []string{"dynamic"}},