mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-03 06:09:54 +00:00
term: Add newgrp to blacklist. Closes #1635
This commit is contained in:
2
neofetch
2
neofetch
@@ -3245,7 +3245,7 @@ get_term() {
|
|||||||
name="$(get_process_name "$parent")"
|
name="$(get_process_name "$parent")"
|
||||||
|
|
||||||
case ${name// } in
|
case ${name// } in
|
||||||
"${SHELL/*\/}"|*"sh"|"screen"|"su"*) ;;
|
"${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp") ;;
|
||||||
|
|
||||||
"login"*|*"Login"*|"init"|"(init)")
|
"login"*|*"Login"*|"init"|"(init)")
|
||||||
term="$(tty)"
|
term="$(tty)"
|
||||||
|
|||||||
Reference in New Issue
Block a user