term: Add newgrp to blacklist. Closes #1635

This commit is contained in:
Dylan Araps 2021-06-11 05:47:20 +00:00
parent 2491af5e58
commit 64dd7b68ef

View file

@ -3245,7 +3245,7 @@ get_term() {
name="$(get_process_name "$parent")"
case ${name// } in
"${SHELL/*\/}"|*"sh"|"screen"|"su"*) ;;
"${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp") ;;
"login"*|*"Login"*|"init"|"(init)")
term="$(tty)"