mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 14:48:30 +00:00
Best attempt when creating a folder marker (fixes #857)
This commit is contained in:
parent
a778b410b9
commit
6210b9e746
@ -380,10 +380,9 @@ func convertV5V6(cfg *Configuration) {
|
||||
// Doesn't affect the config itself, but uses config migrations to identify
|
||||
// the migration point.
|
||||
for _, folder := range Wrap("", *cfg).Folders() {
|
||||
err := folder.CreateMarker()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
// Best attempt, if it fails, it fails, the user will have to fix
|
||||
// it up manually, as the repo will not get started.
|
||||
folder.CreateMarker()
|
||||
}
|
||||
|
||||
cfg.Version = 6
|
||||
|
Loading…
x
Reference in New Issue
Block a user