Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-09 07:57:39 +0000
committerGitHub <noreply@github.com>2021-04-09 07:57:39 +0000
commitad25f92c38117ee1f6b6ea66fecf3afe7ed1b5b4 (patch)
tree80b2f739ef99118ce95e1688893809093e73c956
parent99d75c2831e3c244891fe4ce576c377851ed2816 (diff)
parent437315669f5fe38f90abb8d6f4da9ea60b9f6c12 (diff)
Merge pull request #249 from goggle/patch-248
Fix typo that causes crash when creating encrypted LUKS partition (closes #248)
-rw-r--r--archinstall/lib/luks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py
index b076ac9b..561d4d6e 100644
--- a/archinstall/lib/luks.py
+++ b/archinstall/lib/luks.py
@@ -127,7 +127,7 @@ class luks2():
os.path.basename(mountpoint) # TODO: Raise exception instead?
wait_timer = time.time()
- while pathlib.Paht(partition.path).exists() is False and time.time() - wait_timer < 10:
+ while pathlib.Path(partition.path).exists() is False and time.time() - wait_timer < 10:
time.sleep(0.025)
sys_command(f'/usr/bin/cryptsetup open {partition.path} {mountpoint} --key-file {os.path.abspath(key_file)} --type luks2')