Check last command was exietd