fix linux
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
@@ -614,9 +614,10 @@ public:
|
||||
return mount_location_;
|
||||
}
|
||||
|
||||
[[nodiscard]] auto mount(std::vector<std::string> orig_args,
|
||||
std::vector<std::string> args, provider_type prov,
|
||||
std::string_view unique_id) -> int;
|
||||
[[nodiscard]] auto mount([[maybe_unused]] std::vector<std::string> orig_args,
|
||||
std::vector<std::string> args,
|
||||
[[maybe_unused]] provider_type prov,
|
||||
[[maybe_unused]] std::string_view unique_id) -> int;
|
||||
};
|
||||
} // namespace repertory
|
||||
|
||||
|
@@ -405,10 +405,6 @@ auto fuse_base::mount(std::vector<std::string> orig_args,
|
||||
return res;
|
||||
}
|
||||
|
||||
if (not foreground_ && not utils::collection::includes(args, "-f")) {
|
||||
args.insert(std::next(args.begin()), "-f");
|
||||
}
|
||||
|
||||
std::vector<const char *> fuse_argv(args.size());
|
||||
for (std::size_t idx{0U}; idx < args.size(); ++idx) {
|
||||
fuse_argv[idx] = args[idx].c_str();
|
||||
|
Reference in New Issue
Block a user