We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c898933 + b37f244 commit 77e9fc6Copy full SHA for 77e9fc6
rasp/librasp/src/comm.rs
@@ -314,7 +314,12 @@ fn resolve_mount_path(path: String, pid: i32) -> String {
314
if find_path.exists() {
315
if let Ok(subfix_path) = current_path.strip_prefix(find_path) {
316
let parent_resolve = resolve_symlink_path(find_path.to_string_lossy().into_owned());
317
- return format!("{}/{}", parent_resolve, subfix_path.display());
+ if parent_resolve == find_path.to_string_lossy().into_owned() {
318
+ return path;
319
+ }
320
+ else {
321
+ return format!("{}/{}", parent_resolve, subfix_path.display());
322
323
}
324
325
path
0 commit comments