mirror of https://github.com/apache/cloudstack.git
hot fix for snapshot migration script
This commit is contained in:
parent
e682b1bd4f
commit
ef52a521db
|
|
@ -31,14 +31,14 @@ then
|
|||
exit 2
|
||||
fi
|
||||
|
||||
if [ ! -f $mountPath ]
|
||||
if [ ! -d $mountPath ]
|
||||
then
|
||||
echo "$mountPath does not exist, please specify a valid path"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
mountPath=$mountPath/snapshots
|
||||
if [ ! -f $mountPath ]
|
||||
if [ ! -d $mountPath ]
|
||||
then
|
||||
echo "No snapshots exit, nothing to do"
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue