X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=lib%2Fsyncthing%2Fstfolder.go;h=661e19deab8c0fa423696070f018b81156b07fe8;hb=ab1170e65d6d03dd1eb2542b5fc47694d7785e70;hp=e7ee0ec448e845da5e4b10837b958b8f0b74fb8b;hpb=ad8f8d97a48f155ba94d5646012e969845a315ab;p=src%2Fxds%2Fxds-server.git diff --git a/lib/syncthing/stfolder.go b/lib/syncthing/stfolder.go index e7ee0ec..661e19d 100644 --- a/lib/syncthing/stfolder.go +++ b/lib/syncthing/stfolder.go @@ -55,7 +55,7 @@ func (s *SyncThing) FolderChange(f xdsconfig.FolderConfig) error { folder := config.FolderConfiguration{ ID: id, Label: label, - RawPath: filepath.Join(s.conf.ShareRootDir, f.RelativePath), + RawPath: filepath.Join(s.conf.FileConf.ShareRootDir, f.RelativePath), } if s.conf.FileConf.SThgConf.RescanIntervalS > 0 {