return path in map_volume (#37)

This commit is contained in:
timansky
2025-01-28 05:10:45 +05:00
parent fbd1493369
commit 75625bdbdb
+1 -1
View File
@@ -895,7 +895,7 @@ sub map_volume {
print "Info :: Waiting (" . $iteration . "s) for map volume \"$volname\"...\n";
$iteration++;
if ( -e $path ) {
return 1;
return $path;
}
sleep $interval;
}