Skip to content
Snippets Groups Projects
Commit 4389c819 authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix source path from host

parent f6e68ae8
No related branches found
No related tags found
1 merge request!33Merging develop into main
......@@ -47,7 +47,7 @@ function getHostSource() {
$container = readContainerConfig();
foreach ($container['Mounts'] as $mount) {
if (strpos($currentDir, $mount['Destination']) === 0) {
return $mount['Source'];
return $mount['Source'] . str_replace($mount['Destination'], '', $currentDir);
}
}
return 'unknown';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment