summaryrefslogtreecommitdiffstats
path: root/mountconfig
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-09 21:54:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-09 21:54:25 +0900
commit933f385f5dd09a2f0d167f015cec17d314437ec2 (patch)
treed4b1599a2d35a2a42bb4bb77447594984d9c3a5e /mountconfig
parent037137e6b469adbfeb022f52a9a8025caa9afca5 (diff)
downloadtde-guidance-933f385f5dd09a2f0d167f015cec17d314437ec2.tar.gz
tde-guidance-933f385f5dd09a2f0d167f015cec17d314437ec2.zip
Fix functionality of mountconfig module
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'mountconfig')
-rwxr-xr-xmountconfig/MicroHAL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mountconfig/MicroHAL.py b/mountconfig/MicroHAL.py
index 07a3280..a7b02ae 100755
--- a/mountconfig/MicroHAL.py
+++ b/mountconfig/MicroHAL.py
@@ -817,7 +817,7 @@ class MicroHAL(object):
if proc not in self.getSupportedFileSystems():
# The filesystem is not supported by the running kernel,
# but it might be built as module, so we try to load that.
- retval, msg = SimpleCommandRunner().run([b"/sbin/modprobe",module])
+ retval, msg = SimpleCommandRunner().run([b"/sbin/modprobe",module.encode('utf-8')])
if retval > 0:
print(msg)
print("Couldn't load driver " + module + " for filesystem " + fs)