fix live_system config
This commit is contained in:
parent
a4a28a1fb3
commit
434858174c
2
bin/sau
2
bin/sau
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user