diff --git a/root/scripts/audio-pp.bash b/root/scripts/audio-pp.bash index 86b4e36..3275167 100644 --- a/root/scripts/audio-pp.bash +++ b/root/scripts/audio-pp.bash @@ -2,7 +2,7 @@ export LC_ALL=C.UTF-8 export LANG=C.UTF-8 TITLESHORT="APP" -ScriptVersion="1.04" +ScriptVersion="1.05" set -e set -o pipefail @@ -258,13 +258,14 @@ Main () { replaygain "$1" fi - echo "" - echo "Post Processing Complete!" && exit 0 - #============END SCRIPT============ } Main "$@" | tee -a /config/scripts/logs/audio-pp.log chmod 666 /config/scripts/logs/audio-pp.log chown abc:abc /config/scripts/logs/audio-pp.log +chmod -R 666 "$1" +chown -R abc:abc "$1" +echo "" +echo "Post Processing Complete!" exit $?