Termfont: [Linux] Fix whitespace issue
This commit is contained in:
parent
453a38d79f
commit
013e9d6652
4
neofetch
4
neofetch
|
@ -1472,8 +1472,8 @@ getterm() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Linux")
|
"Linux")
|
||||||
parent="$(grep -F "PPid:" "/proc/${1:-$PPID}/status")"
|
parent="$(grep -i "PPid:" "/proc/${1:-$PPID}/status")"
|
||||||
name="$(< "/proc/${parent/PPid:[[:space:]]}/comm")"
|
name="$(< "/proc/$(trim "${parent/PPid:}")/comm")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|
Reference in New Issue