parent
0fa5e77124
commit
d57806c95f
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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
|
||||
|
|
Loading…
Reference in a new issue