chore(storage): do not read/write to user file when updating in maintainer mode

This commit is contained in:
Quentin McGaw
2025-11-17 15:29:41 +00:00
parent 2cf4d6b469
commit 6e99ca573e
3 changed files with 13 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ func (s *Storage) syncServers() (err error) {
}
// Eventually write file
if s.filepath == "" || reflect.DeepEqual(serversOnFile, s.mergedServers) {
if reflect.DeepEqual(serversOnFile, s.mergedServers) {
return nil
}