From 06db0b517b368a1f3676ec94bca0ed122800a7a6 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 2 Dec 2016 09:46:31 +1100 Subject: [PATCH] General: Combine test --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 4e5a47e3..4018eb9a 100755 --- a/neofetch +++ b/neofetch @@ -1920,7 +1920,7 @@ get_image_backend() { get_ascii() { if [[ ! -f "$ascii" || "$ascii" == "distro" ]]; then # Error message - [[ "$ascii" != "distro" ]] && [[ ! -f "$ascii" ]] && \ + [[ "$ascii" != "distro" && ! -f "$ascii" ]] && \ err "Ascii: Ascii file not found, using distro ascii." # Lowercase the distro name