if os.path.exists(UNATTENDED_UPGRADE_POLICY_FILE_PATH)
This commit is contained in:
parent
12a98bdd85
commit
6a98ca7378
|
@ -728,7 +728,7 @@ class UnattendedUpgradesShutdown():
|
|||
'''
|
||||
if self.options.wait_for_signal:
|
||||
def change_upgrade_policy_handler():
|
||||
if os.path.exist(UNATTENDED_UPGRADE_POLICY_FILE_PATH):
|
||||
if os.path.exists(UNATTENDED_UPGRADE_POLICY_FILE_PATH):
|
||||
autoupgradepolicy.reload_config()
|
||||
|
||||
if autoupgradepolicy.GetOptionValue('autoUpgradeState') == 'on':
|
||||
|
|
Loading…
Reference in New Issue