Merge pull request #143 from fabh2o/exit-if-no-aax-found

Exit if no aax file is found
This commit is contained in:
KrumpetPirate
2021-02-04 07:46:57 -05:00
committed by GitHub

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}"