Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 01c48aad..a4abb3b0 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -142,7 +142,7 @@ if __name__ == '__main__':
print('[E] Failed to setup disk encryption.')
exit(1)
- o = run('cryptsetup open {drive}{part2} luksdev --key-file {pwfile} --type luks2'.format(**args, part2=second)) # --key-file not tested
+ o = run('cryptsetup open {drive}{part2} luksdev --key-file {pwfile} --type luks2'.format(**args, part2=second))
o = run('file /dev/mapper/luksdev') # /dev/dm-0
if b'cannot open' in o:
print('[E] Could not mount encrypted device.')