Fix Bugs
This commit is contained in:
parent
7e176284a7
commit
4781f48e27
2
neofetch
2
neofetch
|
@ -1639,7 +1639,7 @@ get_term() {
|
||||||
# Check $PPID for terminal emulator.
|
# Check $PPID for terminal emulator.
|
||||||
while [[ -z "$term" ]]; do
|
while [[ -z "$term" ]]; do
|
||||||
parent="$(get_ppid "$parent")"
|
parent="$(get_ppid "$parent")"
|
||||||
if [ "$parent" -lt 2 ]; then
|
if [ "$parent" -lt 2 ]; then
|
||||||
parent=1
|
parent=1
|
||||||
term="kernel shell on $(tty)"
|
term="kernel shell on $(tty)"
|
||||||
fi
|
fi
|
||||||
|
|
Reference in New Issue