mirror of
https://github.com/commaai/msgq.git
synced 2026-06-11 23:44:58 +08:00
Revert "move vipc to a prefix folder" (#581)
Revert "move vipc to a prefix folder (#580)"
This reverts commit 6712c46a90.
This commit is contained in:
@@ -25,7 +25,7 @@ std::string get_endpoint_name(std::string name, VisionStreamType type){
|
||||
std::string get_ipc_path(const std::string& name) {
|
||||
std::string path = "/tmp/";
|
||||
if (char* prefix = std::getenv("OPENPILOT_PREFIX")) {
|
||||
path += std::string(prefix) + "/";
|
||||
path += std::string(prefix) + "_";
|
||||
}
|
||||
return path + "visionipc_" + name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user