浏览代码

Use the same temporary naming as the puller

Jakob Borg 11 年之前
父节点
当前提交
928198bbfe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      model/model.go

+ 1 - 1
model/model.go

@@ -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