Should be looking for reboot, not the other way around

This commit is contained in:
Lord Anton Hvornum 2018-04-07 00:48:15 +02:00
parent 438e94f356
commit 8ff4867bc8
1 changed files with 1 additions and 1 deletions

View File

@ -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.')