From 8ff4867bc816332da3f47f55af60b6b42d8f0359 Mon Sep 17 00:00:00 2001 From: Lord Anton Hvornum Date: Sat, 7 Apr 2018 00:48:15 +0200 Subject: Should be looking for reboot, not the other way around --- archinstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall.py b/archinstall.py index 8a427c43..cc6f54b8 100644 --- a/archinstall.py +++ b/archinstall.py @@ -212,7 +212,7 @@ if __name__ == '__main__': entry.write('options cryptdevice=UUID={UUID}:luksdev root=/dev/mapper/luksdev rw intel_pstate=no_hwp\n'.format(UUID=UUID)) o = run('umount -R /mnt') - if args['post'] != 'stay': + if args['post'] == 'reboot': o = run('reboot now') else: print('Done. "reboot" when you\'re done tinkering.') -- cgit v1.2.3-70-g09d2