fix: Replace backticks with single quotes in jq warning

This commit is contained in:
courtmanr@gmail.com
2025-04-20 22:26:57 +01:00
parent 05fb38fbea
commit 97055ea18c
+2 -2
View File
@@ -109,8 +109,8 @@ gather_lxc_config() {
done < <(pvesh get /storage --output-format json | jq -r '.[] | [.storage, .content] | @tsv')
else
# Fallback without jq (less robust, might fail on complex setups)
print_warning "'jq' command not found. Storage detection might be less reliable."
print_warning "Please install jq (`apt update && apt install jq`) for the best experience."
print_warning "\'jq\' command not found. Storage detection might be less reliable."
print_warning "Please install jq ('apt update && apt install jq') for the best experience."
# Basic grep/awk approach - less accurate for template support
local disk_storage
disk_storage=$(pvesh get /storage --output-format json | grep -B 1 -E '(\"content\":.*\"rootdir\"|\"content\":.*\"images\")\' | grep \'\"storage\":\' | awk -F\'\"\' '{print $4}')