mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-11 02:36:17 +00:00
InSync is the opposite of RequiresRestart...
This commit is contained in:
parent
eebdaa2f27
commit
30aabf1da9
@ -346,7 +346,7 @@ func restPostConfig(m *model.Model, w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
// Activate and save
|
// Activate and save
|
||||||
|
|
||||||
configInSync = config.ChangeRequiresRestart(cfg.Raw(), newCfg)
|
configInSync = !config.ChangeRequiresRestart(cfg.Raw(), newCfg)
|
||||||
cfg.Replace(newCfg)
|
cfg.Replace(newCfg)
|
||||||
cfg.Save()
|
cfg.Save()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user