Error: Better error message

This commit is contained in:
Dylan Araps 2017-01-14 23:01:34 +11:00
parent 281fd368ce
commit 33da61b761

View file

@ -1967,7 +1967,7 @@ image_backend() {
if type -p "$image_program" >/dev/null 2>&1; then if type -p "$image_program" >/dev/null 2>&1; then
err "Image: Drawing images using $image_program" err "Image: Drawing images using $image_program"
else else
to_ascii "Image: Failed to find image program. ($image_program)" to_ascii "Image: Failed to find image program '$image_program'"
err "Image: Falling back to ascii mode." err "Image: Falling back to ascii mode."
return return
fi fi