Fixed bug in Global Settings
Incorrect handling of Check dom0 updates being set to false. fixes QubesOS/qubes-issues#4988
This commit is contained in:
parent
d340a62d62
commit
b9316bcd62
@ -239,8 +239,8 @@ class GlobalSettingsWindow(ui_globalsettingsdlg.Ui_GlobalSettings,
|
||||
self.dom0_updates_file_path = '/var/lib/qubes/updates/disable-updates'
|
||||
|
||||
try:
|
||||
self.updates_dom0_val = self.qvm_collection.domains[
|
||||
'dom0'].features['service.qubes-update-check']
|
||||
self.updates_dom0_val = bool(self.qvm_collection.domains[
|
||||
'dom0'].features['service.qubes-update-check'])
|
||||
except KeyError:
|
||||
self.updates_dom0_val =\
|
||||
not os.path.isfile(self.dom0_updates_file_path)
|
||||
|
Loading…
Reference in New Issue
Block a user