checking exit code