log reboot message to info-level

This commit is contained in:
Fredrik Eriksson 2019-12-22 08:39:07 +01:00
parent b1c520b257
commit 81dfa5567e
Signed by: feffe
GPG Key ID: 18524638BE25530A

View File

@ -106,9 +106,9 @@ def main():
if conf.getboolean('default', 'do_reboot', fallback=False): if conf.getboolean('default', 'do_reboot', fallback=False):
if reboot_required: if reboot_required:
log.warning('Rebooting because of a system upgrade') log.info('Rebooting because of a system upgrade')
elif reboot_recommended: elif reboot_recommended:
log.warning('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() fork_and_reboot()