Only send EOF if the process that was started was a normal shell
Review Request #128791 - Created Aug. 28, 2016 and submitted
|Martin Tobias Holmedahl Sandsmark|
The only processes that are "safe" or require us to send an EOF to terminate cleanly are shells, so verify that people didn't run with -e tmux or similar.
Normal bash gets EOF, -e tmux gets SIGHUP.