Fix functionality of mountconfig module

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/11/head
Michele Calgaro 12 months ago
parent 037137e6b4
commit 933f385f5d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -817,7 +817,7 @@ class MicroHAL(object):
if proc not in self.getSupportedFileSystems(): if proc not in self.getSupportedFileSystems():
# The filesystem is not supported by the running kernel, # The filesystem is not supported by the running kernel,
# but it might be built as module, so we try to load that. # 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: if retval > 0:
print(msg) print(msg)
print("Couldn't load driver " + module + " for filesystem " + fs) print("Couldn't load driver " + module + " for filesystem " + fs)

Loading…
Cancel
Save