Fix: Enable immediate exit on errors in install-agent.sh (#1972)

Add error handling to ensure script exits on errors.
This commit is contained in:
Elan Ruusamäe
2026-09-05 19:05:45 +03:00
committed by hank
parent c157c2026d
commit 82fc772882

View File

@@ -286,6 +286,9 @@ detect_mips_endianness() {
echo "mips" echo "mips"
} }
# Ensure script exits immediately on errors
set -eu
# Default values # Default values
PORT=45876 PORT=45876
UNINSTALL=false UNINSTALL=false