summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2014-05-23 14:31:16 +0200
committerJakob Borg <jakob@nym.se>2014-05-23 14:31:16 +0200
commit8356b58b1ddda7b76f64d95bc11b8c3ae0cc759a (patch)
tree076dbbc3b9755ccb1e731d2338120f0c33d68003 /cmd
parent303ce02271c669c582baa2c2579dbf6ddde4c1e9 (diff)
Implement IgnorePerms
Diffstat (limited to 'cmd')
-rw-r--r--cmd/syncthing/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go
index f0591d0f69..d464394bb8 100644
--- a/cmd/syncthing/main.go
+++ b/cmd/syncthing/main.go
@@ -252,8 +252,8 @@ func main() {
if repo.Invalid != "" {
continue
}
- dir := expandTilde(repo.Directory)
- m.AddRepo(repo.ID, dir, repo.Nodes)
+ repo.Directory = expandTilde(repo.Directory)
+ m.AddRepo(repo)
}
// GUI