From bc885f1d0842273bcee73fe34f79592ad68d48fb Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sat, 16 Aug 2014 22:22:31 +0200 Subject: [PATCH] Don't attempt to create default repo before config (fixes #530) We'll create it anyway a little later during startup, as part of the general "check all repos for viability" step. --- cmd/syncthing/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index 6841c2b06..248c30d93 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -289,7 +289,6 @@ func main() { l.Infoln("No config file; starting with empty defaults") name, _ := os.Hostname() defaultRepo := filepath.Join(getHomeDir(), "Sync") - ensureDir(defaultRepo, 0755) cfg, err = config.Load(nil, myID) cfg.Repositories = []config.RepositoryConfiguration{