index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | advaithm <advaith.madhukar@gmail.com> | 2021-01-22 16:18:12 +0530 |
---|---|---|
committer | advaithm <advaith.madhukar@gmail.com> | 2021-01-22 16:18:12 +0530 |
commit | 905f10e9d24e5d07afbd4e5293ed1124cba2edef (patch) | |
tree | fe1c8b1232969c3349fe9865cc8241dc20725230 | |
parent | 40c6aad0ed68ba8c3a5e98084f923d7840f4ed4e (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 8 |
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index 35ff5712..e9fa12a0 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -134,10 +134,10 @@ class Partition(): if (handle := sys_command(f'/usr/bin/mkfs.ext4 -F {self.path}')).exit_code != 0: raise DiskError(f'Could not format {self.path} with {filesystem} because: {b"".join(handle)}') self.filesystem = 'ext4' - elif filesystem == 'xfs': - if (handle:= sys_command(f'/usr/bin/mkfs.xfs -f {self.path}')).exit_code != 0: - raise DiskError(f'Could not format {self.path} with {filesystem} because: {b"".join(handle)}') - self.filesystem = 'xfs' + elif filesystem == 'xfs': + if (handle:= sys_command(f'/usr/bin/mkfs.xfs -f {self.path}')).exit_code != 0: + raise DiskError(f'Could not format {self.path} with {filesystem} because: {b"".join(handle)}') + self.filesystem = 'xfs' else: raise DiskError(f'Fileformat {filesystem} is not yet implemented.') return True |