term: Add newgrp to blacklist. Closes #1635
This commit is contained in:
parent
2491af5e58
commit
64dd7b68ef
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