#当出现安装过程中异常的重启时 直接开机直接进行修复操作

This commit is contained in:
wangsong 2021-11-17 15:10:26 +08:00
parent 1d1d216117
commit ea22c5c45e
1 changed files with 4 additions and 1 deletions

View File

@ -66,6 +66,9 @@ if __name__ == "__main__":
logging.info('kylin-system-updater starting ...')
app = UpdateManager(options)
# app.start_update()
#当出现安装过程中异常的重启时 直接开机直接进行修复操作
if app.configs.getWithDefault("SystemStatus", "isabnormalreboot", False) == True:
app.start_update()
app.run()