This commit is contained in:
		| @@ -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()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user