mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-18 01:47:12 +00:00
Error: Better error message
This commit is contained in:
2
neofetch
2
neofetch
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user