print the return status of the last command