InSync is the opposite of RequiresRestart...

This commit is contained in:
Jakob Borg 2014-10-07 11:31:19 +02:00
parent eebdaa2f27
commit 30aabf1da9

View File

@ -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()
}