Use the same temporary naming as the puller
This commit is contained in:
parent
1fb56f0ad2
commit
928198bbfe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue