diff --git a/PureStoragePlugin.pm b/PureStoragePlugin.pm index f81940e..bb51b10 100644 --- a/PureStoragePlugin.pm +++ b/PureStoragePlugin.pm @@ -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; }