fix live_system config

This commit is contained in:
Fredrik Eriksson 2024-07-26 12:44:35 +02:00
parent a4a28a1fb3
commit 434858174c
Signed by: feffe
GPG Key ID: E6B5580B853D322B

View File

@ -115,7 +115,7 @@ def main():
log.error(f'Upgrade failed: {e}') log.error(f'Upgrade failed: {e}')
return 1 return 1
if not conf.getboolean('default', 'live_system', True): if not conf.getboolean('default', 'live_system', fallback=True):
return 0 return 0
if conf.getboolean('default', 'do_service_restart', fallback=True): if conf.getboolean('default', 'do_service_restart', fallback=True):