fix autotempmount

This commit is contained in:
rootzoll
2021-05-23 10:41:06 -05:00
parent a75cf5f6b3
commit 791fa07752

View File

@@ -1199,6 +1199,9 @@ fi
if [ "$1" = "tempmount" ]; then
# get HDD status and candidates
source <(/home/admin/config.scripts/blitz.datadrive.sh status)
if [ ${isMounted} -eq 1 ]; then
echo "error='already mounted'"
exit 1