mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
Only create default config if it is actually missing (fixes #139)
This commit is contained in:
parent
3e4d628f54
commit
65ec129dfb
@ -158,9 +158,7 @@ func main() {
|
||||
fatalln(err)
|
||||
}
|
||||
cf.Close()
|
||||
}
|
||||
|
||||
if len(cfg.Repositories) == 0 {
|
||||
} else {
|
||||
infoln("No config file; starting with empty defaults")
|
||||
name, _ := os.Hostname()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user