From 8ac8dc306e5711832d2ffaa6a783ac12e04e57a6 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Mon, 15 Jul 2024 09:43:07 +0200 Subject: utils: missing f-string with filesystem resize error ... failed to resize {partdev} with ext4 --- src/utils/fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/fs.py b/src/utils/fs.py index 766c09b..fc326ab 100644 --- a/src/utils/fs.py +++ b/src/utils/fs.py @@ -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 -- cgit v1.2.3-18-g5258