Added extra error handling in case filesystem wasn't mounted porperly
This commit is contained in:
parent
8a5266d087
commit
86847d6dc1
|
|
@ -612,6 +612,7 @@ def human_disk_info(drive):
|
|||
}
|
||||
|
||||
def close_disks():
|
||||
o = simple_command('/usr/bin/umount -R /mnt/boot')
|
||||
o = simple_command('/usr/bin/umount -R /mnt')
|
||||
o = simple_command('/usr/bin/cryptsetup close /dev/mapper/luksdev')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue