utils: missing f-string with filesystem resize error

... failed to resize {partdev} with ext4
master v1.3.2-13
OpenGnSys Support Team 2024-07-15 09:43:07 +02:00
parent 8453a8d9ca
commit 8ac8dc306e
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ def _reduce_resize2fs(partdev):
with open('/tmp/command.log', 'ab', 0) as logfile:
proc = subprocess.run(cmd, stdout=logfile, stderr=STDOUT)
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 0