Commit 928198bb authored by Jakob Borg's avatar Jakob Borg

Use the same temporary naming as the puller

parent 1fb56f0a
...@@ -617,7 +617,7 @@ func (m *Model) SetIgnores(repo string, content []string) error { ...@@ -617,7 +617,7 @@ func (m *Model) SetIgnores(repo string, content []string) error {
return fmt.Errorf("Repo %s does not exist", repo) return fmt.Errorf("Repo %s does not exist", repo)
} }
fd, err := ioutil.TempFile(cfg.Directory, "stignore-"+repo) fd, err := ioutil.TempFile(cfg.Directory, ".syncthing.stignore-"+repo)
if err != nil { if err != nil {
l.Warnln("Saving .stignore:", err) l.Warnln("Saving .stignore:", err)
return err return err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment