mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-13 20:22:11 +00:00
Fix Build
This commit is contained in:
4
neofetch
4
neofetch
@@ -1636,7 +1636,7 @@ get_term() {
|
||||
# Check $PPID for terminal emulator.
|
||||
while [[ -z "$term" ]]; do
|
||||
parent="$(get_ppid "$parent")"
|
||||
if [ $parent -lt 2 ]; then
|
||||
if [ "$parent" -lt 2 ]; then
|
||||
parent=1
|
||||
term="kernel shell on $(tty)"
|
||||
fi
|
||||
@@ -4322,4 +4322,4 @@ main() {
|
||||
return 0
|
||||
}
|
||||
|
||||
main "$@"
|
||||
main "$@"
|
||||
Reference in New Issue
Block a user