mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
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.
This commit is contained in:
parent
f2f051d6de
commit
bc885f1d08
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user