consistency

This commit is contained in:
yosh 2023-09-06 22:09:07 -04:00
parent 5138132c46
commit d3b192d4f5
1 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ process_file() {
[ -n "${pic:-}" ] && rm -f "$pic"
[ -n "$DELETE" ] && rm -f "$infile"
[ -n "${err:-}" ] || errecho "$infile ${GREEN}successfully converted to ${RESET}$TYPE${GREEN} with bitrate/quality ${RESET}${VLVL:+V}${VLVL:-${BITRATE}k}"
[ -z "${err:-}" ] && errecho "$infile ${GREEN}successfully converted to ${RESET}$TYPE${GREEN} with bitrate/quality ${RESET}${VLVL:+V}${VLVL:-${BITRATE}k}"
}
usage() {
@ -258,7 +258,7 @@ fi
# you should never put newlines in paths
# it is a very bad idea for many programs
FLACFILES="$(find "$@" -type f -name "*.[fF][lL][aA][cC]")"
[ -n "$FLACFILES" ] || fail 'no flac files found!'
[ -z "$FLACFILES" ] && fail 'no flac files found!'
# make a fifo/fd for parallel stuff
mk_parallel_fd() {