return proper exit code when setup fails