mirror of
https://github.com/henrygd/beszel.git
synced 2026-09-21 17:07:47 +02: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"
|
echo "mips"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Ensure script exits immediately on errors
|
||||||
|
set -eu
|
||||||
|
|
||||||
# Default values
|
# Default values
|
||||||
PORT=45876
|
PORT=45876
|
||||||
UNINSTALL=false
|
UNINSTALL=false
|
||||||
|
|||||||
Reference in New Issue
Block a user