aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtranscode.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/transcode.sh b/transcode.sh
index 749668c..9eab13f 100755
--- a/transcode.sh
+++ b/transcode.sh
@@ -597,7 +597,8 @@ if [[ ! "$NICE_VALUE" =~ ^-?[0-9]+$ ]] || ((NICE_VALUE < -20 || NICE_VALUE > 19)
fi
if [[ ${#SKIP_CODECS[@]} -gt 0 ]]; then
- verbose "Skipping files with codecs:" "${!SKIP_CODECS[*]}"
+ printf -v joined ' %s' "${!SKIP_CODECS[@]}"
+ verbose "Skipping files with codecs:" "${joined# }"
fi
# Remove temporary output files created during encoding.