From 0c9fa05aabf9429ee76d7aac07834e7bc6a245e7 Mon Sep 17 00:00:00 2001 From: fabh2o Date: Thu, 4 Feb 2021 10:09:33 +0100 Subject: [PATCH] return 1 if no aax file found --- AAXtoMP3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AAXtoMP3 b/AAXtoMP3 index 7a4368f..25ca161 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -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}"