summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils/fs.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils/fs.py b/src/utils/fs.py
index 83d8d47..2d98dc1 100644
--- a/src/utils/fs.py
+++ b/src/utils/fs.py
@@ -105,8 +105,9 @@ def ogReduceFs(disk, part):
elif fstype == 'ntfs':
ret = _reduce_ntfsresize(partdev)
else:
- logging.warn(f'Unable to shrink filesystem at {partdev}. '
- f'Unsupported filesystem "{fstype}".')
+ ret = -1
+ logging.error(f'Unable to shrink filesystem at {partdev}. '
+ f'Unsupported filesystem "{fstype}".')
return ret