From 85bbdcfcb8c430989a01a94cb4fa3989fbfca8eb Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Fri, 19 Apr 2024 11:32:07 +0200 Subject: utils: fs: report error when failing to grow not really a warning, report an error instead --- src/utils/fs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils') diff --git a/src/utils/fs.py b/src/utils/fs.py index 2d98dc1..eae7065 100644 --- a/src/utils/fs.py +++ b/src/utils/fs.py @@ -128,8 +128,8 @@ def ogExtendFs(disk, part): elif fstype == 'ntfs': _extend_ntfsresize(partdev) else: - logging.warn(f'Unable to grow filesystem at {partdev}. ' - f'Unsupported filesystem "{fstype}".') + logging.error(f'Unable to grow filesystem at {partdev}. ' + f'Unsupported filesystem "{fstype}".') def mkfs(fs, disk, partition, label=None): -- cgit v1.2.3-18-g5258