Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorLord Anton Hvornum <anton.feeds@gmail.com>2018-04-07 00:48:15 +0200
committerLord Anton Hvornum <anton.feeds@gmail.com>2018-04-07 00:48:15 +0200
commit8ff4867bc816332da3f47f55af60b6b42d8f0359 (patch)
treee7069708ccac9d5e13a8946816e6a567eaac2cc8 /archinstall.py
parent438e94f356bd6dc5a15f59eb41ef595f5f61bab6 (diff)
Should be looking for reboot, not the other way around
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 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.')