This commit is contained in:
@@ -464,14 +464,14 @@ auto fuse_base::mount([[maybe_unused]] std::vector<std::string> orig_args,
|
||||
fmt::format("{}.plist", label),
|
||||
}))
|
||||
.c_str());
|
||||
res = system(
|
||||
ret = system(
|
||||
fmt::format("launchctl kickstart gui/{}/{}", getuid(), label).c_str());
|
||||
if (res != 0) {
|
||||
if (ret != 0) {
|
||||
std::cerr << fmt::format("Failed to kickstart {}/{}", getuid(), label)
|
||||
<< std::endl;
|
||||
}
|
||||
|
||||
return res;
|
||||
return ret;
|
||||
}
|
||||
#endif // defined(__APPLE__)
|
||||
|
||||
|
Reference in New Issue
Block a user