mirror of
https://github.com/henrygd/beszel.git
synced 2026-09-16 21:14:23 +00:00
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:
@@ -286,6 +286,9 @@ detect_mips_endianness() {
|
||||
echo "mips"
|
||||
}
|
||||
|
||||
# Ensure script exits immediately on errors
|
||||
set -eu
|
||||
|
||||
# Default values
|
||||
PORT=45876
|
||||
UNINSTALL=false
|
||||
|
||||
Reference in New Issue
Block a user