From d57806c95fed4b6c460b2cfb0624b10169e22584 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Wed, 28 Jun 2017 06:38:05 +0700 Subject: [PATCH] Term (SSH): Break from loop regardless of $SSH_TTY output Fixes #760 --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index c28d8d2f..893b1258 100755 --- a/neofetch +++ b/neofetch @@ -1686,7 +1686,7 @@ get_term() { # Check $PPID for terminal emulator. while [[ -z "$term" ]]; do if [[ "$SSH_CONNECTION" ]]; then - term="$SSH_TTY" + term="$SSH_TTY"; break else parent="$(get_ppid "$parent")" [[ -z "$parent" ]] && break