Wrong variable.
This commit is contained in:
parent
05e848ce62
commit
1395f0888c
|
|
@ -367,7 +367,7 @@ class Partition():
|
||||||
if not self.filesystem: raise DiskError(f'Need to format (or define) the filesystem on {self} before mounting.')
|
if not self.filesystem: raise DiskError(f'Need to format (or define) the filesystem on {self} before mounting.')
|
||||||
fs = self.filesystem
|
fs = self.filesystem
|
||||||
|
|
||||||
pathlib.Path(self.path).mkdir(parents=True, exist_ok=True)
|
pathlib.Path(target).mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
sys_command(f'/usr/bin/mount {self.path} {target}')
|
sys_command(f'/usr/bin/mount {self.path} {target}')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue