fix
Some checks are pending
BlockStorage/repertory/pipeline/head Build queued...

This commit is contained in:
2025-08-02 10:24:22 -05:00
parent fd1d32d314
commit fdec5f7b6e

View File

@@ -58,7 +58,7 @@ auto change_to_process_directory() -> bool {
auto res = proc_pidpath(getpid(), reinterpret_cast<void *>(path.data()),
static_cast<uint32_t>(path.size()));
if (res == 0) {
path = utils::path::get_parent_path(path) :
path = utils::path::get_parent_path(path);
}
#else // !defined(__APPLE__)
auto res = readlink("/proc/self/exe", path.data(), path.size());