Update haos-vm-v4.sh

This commit is contained in:
tteckster 2022-08-12 13:24:37 -04:00 committed by GitHub
parent 54bf1dffb7
commit 0df983699d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ STORAGE_MENU+=( "$TAG" "$ITEM" "OFF" )
done < <(pvesm status -content images | awk 'NR>1')
VALID=$(pvesm status -content images | awk 'NR>1')
if [ -z "$VALID" ]; then
echo -e "${RD}⚠ Unable to detect a valid storage location.${CL}"
echo -e "\n${RD}⚠ Unable to detect a valid storage location.${CL}"
echo -e "Exiting..."
exit
elif [ $((${#STORAGE_MENU[@]}/3)) -eq 1 ]; then