fixing some typos in error messages

This commit is contained in:
David Nalley 2011-06-20 15:18:30 -04:00
parent 968f5990be
commit fb0dae2ce5
2 changed files with 6 additions and 6 deletions

View File

@ -44,13 +44,13 @@ localmp=/var/run/cloud_mount/$(uuidgen -r)
mkdir -p $localmp
if [ $? -ne 0 ]; then
echo "5#cann't make dir $localmp"
echo "5#can't make dir $localmp"
exit 0
fi
mount $mountpoint $localmp -r
if [ $? -ne 0 ]; then
echo "6#cann't mounbt $mountpoint to $localmp"
echo "6#can't mount $mountpoint to $localmp"
exit 0
fi
@ -141,7 +141,7 @@ elif [ $type == "lvmoiscsi" -o $type == "lvm" -o $type == "lvmohba" ]; then
desvhd=/dev/VG_XenStorage-$sruuid/VHD-$uuid
lvchange -ay $desvhd
if [ $? -ne 0 ]; then
echo "10#lvm can not make VDI $uuid visiable"
echo "10#lvm can not make VDI $uuid visible"
cleanup
exit 0
fi

View File

@ -52,13 +52,13 @@ localmp=/var/run/cloud_mount/$(uuidgen -r)
mkdir -p $localmp
if [ $? -ne 0 ]; then
echo "5#cann't make dir $localmp"
echo "5#can't make dir $localmp"
exit 0
fi
mount $mountpoint $localmp
if [ $? -ne 0 ]; then
echo "6#cann't mounbt $mountpoint to $localmp"
echo "6#can't mount $mountpoint to $localmp"
exit 0
fi
@ -74,7 +74,7 @@ if [ $type == "nfs" ]; then
elif [ $type == "lvmoiscsi" -o $type == "lvm" -o $type == "lvmohba" ]; then
lvchange -ay /dev/VG_XenStorage-$sruuid/VHD-$vdiuuid
if [ $? -ne 0 ]; then
echo "9#lvm can not make VDI $vdiuuid visiable"
echo "9#lvm can not make VDI $vdiuuid visible"
cleanup
exit 0
fi