Fix functionality of mountconfig module

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 933f385f5d)
r14.1.x
Michele Calgaro 11 months ago
parent 39e3f15b56
commit dc9cd22836
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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)

Loading…
Cancel
Save