summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/fs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/fs.py b/src/utils/fs.py
index 1fd13f1..184b47a 100644
--- a/src/utils/fs.py
+++ b/src/utils/fs.py
@@ -228,7 +228,7 @@ def get_filesystem_type(partdev):
cmd = shlex.split(f'blkid -o value -s TYPE {partdev}')
proc = subprocess.run(cmd, stdout=PIPE, encoding='utf-8')
if proc.returncode != 0:
- log.error(f'Error getting filesystem from {partdev}')
+ logging.error(f'Error getting filesystem from {partdev}')
return "unknown"
return proc.stdout.strip()