fix objectivefs mount options

Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen
2024-02-27 18:39:15 -07:00
parent 784ce31922
commit d70b45b909
2 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -52,7 +52,10 @@ class ObjectiveFS {
}
const objectivefs = this;
let args = [];
args = args.concat(options);
if (options.length > 0) {
// TODO: maybe do -o <opt> -o <opt>?
args = args.concat(["-o", options.join(",")]);
}
args = args.concat([filesystem, target]);
let result;