Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-06-20 18:29:41 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2019-06-20 18:29:41 +0000
commit809d6bf316572ce3b84ad9de1c6327fe574743c2 (patch)
tree453f5a11cbe72055ab4c78ebe73ac1508e6579d8 /archinstall.py
parentf928a4b72cbdcf1ea4ec09267e184016e8c91f45 (diff)
Wrong parameter order for rebooting with a new flag
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 1f5edcee..bd90f9b7 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -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):