diff --git a/repertory/librepertory/src/drives/fuse/fuse_base.cpp b/repertory/librepertory/src/drives/fuse/fuse_base.cpp index 5fd74392..9adfe1f2 100644 --- a/repertory/librepertory/src/drives/fuse/fuse_base.cpp +++ b/repertory/librepertory/src/drives/fuse/fuse_base.cpp @@ -464,14 +464,14 @@ auto fuse_base::mount([[maybe_unused]] std::vector 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__)