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 12:05:45 -04:00
committed by GitHub
parent c157c2026d
commit b8fb5d2367
+3
View File
@@ -286,6 +286,9 @@ detect_mips_endianness() {
echo "mips"
}
# Ensure script exits immediately on errors
set -eu
# Default values
PORT=45876
UNINSTALL=false