From 87cc686070fa562f299051966ee3eaffe0ad6410 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 15 Jan 2017 00:22:55 +1100 Subject: [PATCH] Image: Fix bug when backend renderer isn't found --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 70434f7f..892a3817 100755 --- a/neofetch +++ b/neofetch @@ -1976,7 +1976,7 @@ image_backend() { get_image_size make_thumbnail - display_image + display_image 2>/dev/null ;; *) @@ -4019,7 +4019,7 @@ main() { # w3m-img: Draw the image a second time to fix # rendering issues in specific terminal emulators. - [[ "$image_program" == *w3m* ]] && display_image + [[ "$image_program" == *w3m* ]] && display_image 2>/dev/null # Take a screenshot. [[ "$scrot" == "on" ]] && take_scrot