Prepend full standard PATH for restricted SSH environments
All checks were successful
Build-Publish / build (linux/amd64) (push) Successful in 5s
Build-Publish / build (linux/arm64) (push) Successful in 13s
Build-Publish / create-manifest (push) Successful in 2s
Build-Publish / publish-template (push) Successful in 9s

This commit is contained in:
j
2026-03-08 21:24:56 +13:00
parent d96d5be2e1
commit b997ff4852

View File

@@ -2,8 +2,8 @@
# Gather system information from a remote server # Gather system information from a remote server
# Output format: [section] headers followed by key=value pairs # Output format: [section] headers followed by key=value pairs
# Ensure sbin paths are available (not always in PATH for non-root users) # Ensure all standard paths are available (restricted SSH may have minimal PATH)
export PATH="$PATH:/usr/sbin:/usr/local/sbin:/sbin" export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$PATH"
echo "[system]" echo "[system]"
echo "hostname=$(hostname)" echo "hostname=$(hostname)"