Perform tilde expansion in the config wrapper

This commit is contained in:
Audrius Butkevicius
2014-10-12 14:09:25 +01:00
parent 838670ccbc
commit a5fe4a3694
3 changed files with 7 additions and 7 deletions

View File

@@ -377,7 +377,7 @@ func convertV5V6(cfg *Configuration) {
// Added ".stfolder" file at folder roots to identify mount issues
// Doesn't affect the config itself, but uses config migrations to identify
// the migration point.
for _, folder := range cfg.Folders {
for _, folder := range Wrap("", *cfg).Folders() {
err := folder.CreateMarker()
if err != nil {
panic(err)