mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-18 03:08:57 +01:00
Merge pull request #143 from fabh2o/exit-if-no-aax-found
Exit if no aax file is found
This commit is contained in:
commit
8a82d9f661
2
AAXtoMP3
2
AAXtoMP3
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user