Termfont: [Linux] Fix whitespace issue
This commit is contained in:
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
Block a user