Exit if we can't mount external harddrive

This commit is contained in:
Jack-Benny Persson 2013-12-17 20:32:11 +01:00
parent 701f762610
commit 11f706a826

View File

@ -82,6 +82,7 @@ if [ "$Where" = "HDD" ] || [ "$Where" = "Tape&HDD" ]; then
if [ $? -ne 0 ]; then
echo "$CurTime Couldn't mount $ExtHDD on ${MntPoint}, aborting"\
> /dev/stderr
exit 2
fi
if [ ! -d "${MntPoint}/${ExtHDDdir}" ]; then