From 07430d6c9c2506c6da07604cddc28ecb403e3809 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Tue, 24 Feb 2026 21:12:18 +0100 Subject: fix: enable TRACE only when set to 1 instead of any non-zero value Consistent with the DEBUG variable which is also compared against 1 throughout the script. --- transcode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transcode.sh b/transcode.sh index 507384d..3ca19bd 100755 --- a/transcode.sh +++ b/transcode.sh @@ -42,7 +42,7 @@ # DEBUG=1 ./transcode.sh .... # show script-defined debug messages TRACE=${TRACE:-0} -if [[ $TRACE -ne 0 ]]; then +if [[ $TRACE -eq 1 ]]; then set -o xtrace fi -- cgit v1.3.1