Added more debug level information to parted in case it goes heywire.

This commit is contained in:
Anton Hvornum 2021-03-21 17:11:29 +01:00
parent dbe086024d
commit 6a2dd8f511
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ class Filesystem():
def raw_parted(self, string:str):
x = sys_command(f'/usr/bin/parted -s {string}')
o = b''.join(x)
log(f"'parted -s {string}' returned: {b''.join(x)}", level=LOG_LEVELS.Debug)
return x
def parted(self, string:str):