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
commit 8a82d9f661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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