Fix Build
This commit is contained in:
parent
10527026fe
commit
62952a1f56
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -1636,7 +1636,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
|
||||||
|
@ -4322,4 +4322,4 @@ main() {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
Loading…
Reference in a new issue