diff --git a/neofetch b/neofetch index 8781466a..d5d44c92 100755 --- a/neofetch +++ b/neofetch @@ -2307,7 +2307,7 @@ getimage () { # If $img isn't a file or the terminal doesn't support xterm escape sequences, # fallback to ascii mode. - if [ ! -f "$img" ] || [ ${#term_size} -le 5 ] && [ "$image_backend" != "tycat" ]; then + if [ ! -f "$img" ] || ([ ${#term_size} -le 5 ] && [ "$image_backend" != "tycat" ]); then image="ascii" getascii