mirror of https://git.48k.eu/ogclient
utils: missing f-string with filesystem resize error
... failed to resize {partdev} with ext4master v1.3.2-13
parent
8453a8d9ca
commit
8ac8dc306e
|
@ -243,7 +243,7 @@ def _reduce_resize2fs(partdev):
|
||||||
with open('/tmp/command.log', 'ab', 0) as logfile:
|
with open('/tmp/command.log', 'ab', 0) as logfile:
|
||||||
proc = subprocess.run(cmd, stdout=logfile, stderr=STDOUT)
|
proc = subprocess.run(cmd, stdout=logfile, stderr=STDOUT)
|
||||||
if proc.returncode != 0:
|
if proc.returncode != 0:
|
||||||
logging.error('failed to resize {partdev} with ext4')
|
logging.error(f'Failed to resize ext4 filesystem in {partdev}')
|
||||||
return -1
|
return -1
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Reference in New Issue