Added debugging
This commit is contained in:
parent
d0676dfa3d
commit
1fd432326b
|
|
@ -321,6 +321,9 @@ class Partition():
|
|||
if log_formatting:
|
||||
log(f'Formatting {path} -> {filesystem}', level=logging.INFO)
|
||||
|
||||
if path == '/dev/sda1' and filesystem == 'vfat':
|
||||
raise ValueError("Debugging breakpoint!")
|
||||
|
||||
if filesystem == 'btrfs':
|
||||
o = b''.join(sys_command(f'/usr/bin/mkfs.btrfs -f {path}'))
|
||||
if b'UUID' not in o:
|
||||
|
|
|
|||
Loading…
Reference in New Issue