Wrong parameter order for rebooting with a new flag

This commit is contained in:
Anton Hvornum 2019-06-20 18:29:41 +00:00
parent f928a4b72c
commit 809d6bf316
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ def update_git():
if not 'rebooted' in args:
## Reboot the script (in same context)
print('[N] Rebooting the script')
os.execv('/usr/bin/python3', ['archinstall.py', '--rebooted'] + sys.argv)
os.execv('/usr/bin/python3', ['archinstall.py'] + sys.argv + ['--rebooted',])
extit(1)
def device_state(name):