return 1 if no aax file found

This commit is contained in:
fabh2o 2021-02-04 10:09:33 +01:00
parent d56369d45a
commit 0c9fa05aab

View File

@ -281,7 +281,7 @@ validate_aax() {
# Test for existence # Test for existence
if [[ ! -r "${media_file}" ]] ; then if [[ ! -r "${media_file}" ]] ; then
log "ERROR File NOT Found: ${media_file}" log "ERROR File NOT Found: ${media_file}"
return return 1
else else
if [[ "${VALIDATE}" == "1" ]]; then if [[ "${VALIDATE}" == "1" ]]; then
log "Test 1 SUCCESS: ${media_file}" log "Test 1 SUCCESS: ${media_file}"