Exit if we can't mount external harddrive
This commit is contained in:
1 parent
f58ecf338c
commit
b3ea7d112e
1 file changed
+1
@@ -82,6 +82,7 @@ if [ "$Where" = "HDD" ] || [ "$Where" = "Tape&HDD" ]; then
|
|||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "$CurTime Couldn't mount $ExtHDD on ${MntPoint}, aborting"\
|
echo "$CurTime Couldn't mount $ExtHDD on ${MntPoint}, aborting"\
|
||||||
> /dev/stderr
|
> /dev/stderr
|
||||||
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "${MntPoint}/${ExtHDDdir}" ]; then
|
if [ ! -d "${MntPoint}/${ExtHDDdir}" ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user