diff options
| author | Dennis Fink | 2026-02-24 21:12:18 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-02-24 21:12:18 +0100 |
| commit | 07430d6c9c2506c6da07604cddc28ecb403e3809 (patch) | |
| tree | 40e7d4385e115046c0ddc267cae4b9f1e4a8bb8e | |
| parent | 48ff40a7ad013678e13b35088d5914778b21c9d7 (diff) | |
| download | transcode.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-x | transcode.sh | 2 |
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 |
