summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Fink2026-02-24 21:12:18 +0100
committerDennis Fink2026-02-24 21:12:18 +0100
commit07430d6c9c2506c6da07604cddc28ecb403e3809 (patch)
tree40e7d4385e115046c0ddc267cae4b9f1e4a8bb8e
parent48ff40a7ad013678e13b35088d5914778b21c9d7 (diff)
downloadtranscode.sh-07430d6c9c2506c6da07604cddc28ecb403e3809.tar.gz
transcode.sh-07430d6c9c2506c6da07604cddc28ecb403e3809.zip
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.
-rwxr-xr-xtranscode.sh2
1 files changed, 1 insertions, 1 deletions
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