Fix: unbound variable _UNBUFFERED ()

This commit is contained in:
root
2026-06-05 23:00:45 +02:00
parent ef535937b2
commit 9a3172b831
+1 -1
View File
@@ -5,7 +5,7 @@ set -euo pipefail
# Real-time output via pseudo-terminal (unbuffer from expect) # Real-time output via pseudo-terminal (unbuffer from expect)
# Dit forceert line-buffered output voor ALLE commands, ook in web interfaces # Dit forceert line-buffered output voor ALLE commands, ook in web interfaces
if [ -z "$_UNBUFFERED" ] && command -v unbuffer &> /dev/null; then if [ -z "${_UNBUFFERED:-}" ] && command -v unbuffer &> /dev/null; then
export _UNBUFFERED=1 export _UNBUFFERED=1
exec unbuffer bash "$0" "$@" exec unbuffer bash "$0" "$@"
fi fi