Use the same temporary naming as the puller

This commit is contained in:
Jakob Borg 2014-09-22 16:57:06 +02:00
parent 1fb56f0ad2
commit 928198bbfe
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ func (m *Model) SetIgnores(repo string, content []string) error {
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 {
l.Warnln("Saving .stignore:", err)
return err