Images: [tycat] Handle errors

This commit is contained in:
Dylan Araps 2016-11-26 12:04:19 +11:00
parent 206b961ef3
commit 68b6811a14

View file

@ -2270,7 +2270,7 @@ display_image() {
;;
"tycat")
tycat "$image"
tycat "$image" || to_off "Images: tycat failed to display the image."
;;
esac
}