Update storage_menu.sh

This commit is contained in:
MacRimi 2025-02-04 17:13:19 +01:00 committed by GitHub
parent 4c76dd9cbd
commit 21637d4cc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ initialize_cache
echo -e "\033[33m[INFO] $(translate "Running script:") $(translate "Disk Passthrough")...\033[0m" echo -e "\033[33m[INFO] $(translate "Running script:") $(translate "Disk Passthrough")...\033[0m"
bash <(curl -s "$REPO_URL/scripts/disk-passthrough.sh") bash <(curl -s "$REPO_URL/scripts/disk-passthrough.sh")
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
msg_info "$(translate "Operation cancelled.")" msg_warn "$(translate "Operation cancelled.")"
sleep 2 sleep 2
fi fi
;; ;;
@ -44,7 +44,7 @@ initialize_cache
echo -e "\033[33m[INFO] $(translate "Running script:") $(translate "Import Disk Image")...\033[0m" echo -e "\033[33m[INFO] $(translate "Running script:") $(translate "Import Disk Image")...\033[0m"
bash <(curl -s "$REPO_URL/scripts/import-disk-image.sh") bash <(curl -s "$REPO_URL/scripts/import-disk-image.sh")
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
msg_info "$(translate "Operation cancelled.")" msg_warn "$(translate "Operation cancelled.")"
sleep 2 sleep 2
fi fi
;; ;;