From 809d6bf316572ce3b84ad9de1c6327fe574743c2 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 20 Jun 2019 18:29:41 +0000 Subject: Wrong parameter order for rebooting with a new flag --- archinstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall.py') 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): -- cgit v1.2.3-70-g09d2