hot fix for snapshot migration script

This commit is contained in:
edison 2010-10-14 22:27:54 -07:00
parent e682b1bd4f
commit ef52a521db
1 changed files with 2 additions and 2 deletions

View File

@ -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