Report state command exit code.