Check last command was exietd
Merge pull request #5 from mattn/check_exited

Check last command was exietd