Adding debug information

This commit is contained in:
Anton Hvornum 2022-12-22 13:46:54 +01:00
parent 75d370af8a
commit 604baccc4c
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ def find_partition_by_mountpoint(block_devices :List[BlockDevice], relative_moun
def partprobe(path :str = '') -> bool:
try:
if SysCommand(f'bash -c "partprobe {path}"').exit_code == 0:
if SysCommand(f'bash -c "partprobe {path}"', peak_output=True).exit_code == 0:
return True
except SysCallError:
pass