HelperScripts-for-ProxmoxVE/misc
CanbiZ (MickLesk) 53bc492fdb
Make shell command substitutions safe with || true (#13279)
Add defensive fallbacks (|| true) to multiple command substitutions to prevent non-zero exits when commands produce no output or are unavailable. Changes touch misc/api.func, misc/build.func and misc/tools.func and cover places like lspci, /proc/cpuinfo parsing, /etc/os-release reads, hostname -I usage, grep reads from vars files and maps, pct config parsing, storage/template lookups, tool version detection, NVIDIA driver version extraction, and MeiliSearch config parsing. These edits do not change functional behavior aside from ensuring the scripts continue running (variables will be empty) instead of failing in stricter shells or when commands return non-zero status.
2026-03-25 13:06:21 +01:00
..
images remove old files and assets (#9991) 2025-12-15 17:37:26 +01:00
alpine-install.func Improve network connectivity and DNS checks (#13222) 2026-03-23 20:43:48 +01:00
alpine-tools.func tools.func: persist /usr/local/bin in shell PATHs (#11970) 2026-02-16 10:30:05 +01:00
api.func Make shell command substitutions safe with || true (#13279) 2026-03-25 13:06:21 +01:00
build.func Make shell command substitutions safe with || true (#13279) 2026-03-25 13:06:21 +01:00
cloud-init.func feat(cloud-init): add interactive SSH key discovery and selection (#11547) 2026-02-05 08:11:13 +01:00
core.func core: standardize exit codes and add mappings (#12467) 2026-03-02 10:55:20 +01:00
error_handler.func Classify exit-1 errors & guard telemetry 2026-03-24 09:57:43 +01:00
install.func core: harden shell scripts against injection and insecure permissions (#13239) 2026-03-23 22:22:23 +01:00
tools.func Make shell command substitutions safe with || true (#13279) 2026-03-25 13:06:21 +01:00
vm-core.func chore: replace helper-scripts.com with community-scripts.com (#13244) 2026-03-24 20:50:40 +01:00