No restart after update (#2242)
This commit is contained in:
parent
1f453b6c13
commit
1bfe328a1b
2 changed files with 5 additions and 3 deletions
|
@ -38,8 +38,9 @@ def main():
|
|||
import update
|
||||
print("Updating...")
|
||||
update.update()
|
||||
print("Restarting...")
|
||||
restart()
|
||||
if main.restart_after_shutdown:
|
||||
print("Restarting...")
|
||||
restart()
|
||||
else:
|
||||
print("Shutting down...")
|
||||
prepareShutdown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue