Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-09 11:45:45 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-09 11:45:45 +0200
commit1395f0888c52f01a231aec6c437d570895a03210 (patch)
tree521a4ffe5c34dc5030a58cb56e16305a129782bd /archinstall/lib/disk.py
parent05e848ce626c768bc6bfbcdbfa65083abb035b87 (diff)
Wrong variable.
Diffstat (limited to 'archinstall/lib/disk.py')
-rw-r--r--archinstall/lib/disk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 7e02c539..f0fe7181 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -367,7 +367,7 @@ class Partition():
if not self.filesystem: raise DiskError(f'Need to format (or define) the filesystem on {self} before mounting.')
fs = self.filesystem
- pathlib.Path(self.path).mkdir(parents=True, exist_ok=True)
+ pathlib.Path(target).mkdir(parents=True, exist_ok=True)
try:
sys_command(f'/usr/bin/mount {self.path} {target}')