Fix typo in error msg

This commit is contained in:
Csonka Mihaly 2021-05-30 17:37:44 +02:00
parent 630045f4a6
commit f60cd10afb
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ class Filesystem:
if SysCommand(f'/usr/bin/parted -s {self.blockdevice.device} mklabel msdos').exit_code == 0:
return self
else:
raise DiskError('Problem setting the partition format to GPT:', f'/usr/bin/parted -s {self.blockdevice.device} mklabel msdos')
raise DiskError('Problem setting the partition format to MBR:', f'/usr/bin/parted -s {self.blockdevice.device} mklabel msdos')
else:
raise DiskError(f'Unknown mode selected to format in: {self.mode}')