mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +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
|
||||
|
||||
configInSync = config.ChangeRequiresRestart(cfg.Raw(), newCfg)
|
||||
configInSync = !config.ChangeRequiresRestart(cfg.Raw(), newCfg)
|
||||
cfg.Replace(newCfg)
|
||||
cfg.Save()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user