Check exit code instead.