some cleanup

This commit is contained in:
upuv 2018-05-19 15:48:08 +10:00
parent 10ca1e53e3
commit 41a2803e18

View File

@ -102,7 +102,7 @@ do
debug "Decoding ${path} with auth code ${auth_code}..." debug "Decoding ${path} with auth code ${auth_code}..."
# Check for Presense of Audiobook # Check for Presense of Audiobook
[ ! -r "${path}" ] && echo "ERROR: Input file $path missing" ; exit 1 # [[ ! -r "${path}" ]] && echo "ERROR: Input file $path missing" ; exit 1
save_metadata "${path}" save_metadata "${path}"
genre=$(get_metadata_value genre) genre=$(get_metadata_value genre)