diff options
author | Michele Calgaro <[email protected]> | 2023-12-09 21:54:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-10 00:48:25 +0900 |
commit | dc9cd22836cbe3fb541b2c46107a48c6bf76b84f (patch) | |
tree | 0ad8a26a43792951e7e85c86df80db054e7e3897 | |
parent | 39e3f15b56a1fee2d148de4bcfa816aac707caca (diff) | |
download | tde-guidance-dc9cd22836cbe3fb541b2c46107a48c6bf76b84f.tar.gz tde-guidance-dc9cd22836cbe3fb541b2c46107a48c6bf76b84f.zip |
Fix functionality of mountconfig module
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 933f385f5dd09a2f0d167f015cec17d314437ec2)
-rwxr-xr-x | mountconfig/MicroHAL.py | 2 |
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) |