fix fallback argument to reboot

This commit is contained in:
Fredrik Eriksson 2024-07-24 18:32:48 +02:00
parent 56901faefe
commit 9261daeb74
Signed by: feffe
GPG Key ID: E6B5580B853D322B

View File

@ -124,7 +124,7 @@ def main():
elif reboot_recommended: elif reboot_recommended:
log.info('Rebooting because service restarts did not close all deleted files') log.info('Rebooting because service restarts did not close all deleted files')
if reboot_required or reboot_recommended: if reboot_required or reboot_recommended:
fork_and_reboot(report_success=conf.getboolean('default', 'reboot_is_success', Fallback=True)) fork_and_reboot(report_success=conf.getboolean('default', 'reboot_is_success', fallback=True))
if reboot_required: if reboot_required:
log.warning("Upgrade was success, but a reboot is required due to a system upgrade") log.warning("Upgrade was success, but a reboot is required due to a system upgrade")