summaryrefslogtreecommitdiffstats
path: root/mountconfig
diff options
context:
space:
mode:
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)