From dee0d7e9a0590e3cb9953bc9b8d0eb74a94f50d9 Mon Sep 17 00:00:00 2001 From: upuv Date: Sat, 19 May 2018 15:51:40 +1000 Subject: [PATCH] some cleanup --- AAXtoMP3 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AAXtoMP3 b/AAXtoMP3 index bbb85d7..862bb1c 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -102,7 +102,10 @@ do debug "Decoding ${path} with auth code ${auth_code}..." # Check for Presense of Audiobook - # [[ ! -r "${path}" ]] && echo "ERROR: Input file $path missing" ; exit 1 + if [[ ! -r "${path}" ]] ; then + echo "ERROR: Input Audiobook file $path missing" + exit 1 + fi save_metadata "${path}" genre=$(get_metadata_value genre)