perhaps `if not cmdResult.exit_status:`