diff --git a/hack/update-openapi-spec.sh b/hack/update-openapi-spec.sh index 2262627c625..adfe9f27509 100755 --- a/hack/update-openapi-spec.sh +++ b/hack/update-openapi-spec.sh @@ -79,7 +79,7 @@ APISERVER_PID=$! if ! kube::util::wait_for_url "${API_HOST}:${API_PORT}/healthz" "apiserver: "; then kube::log::error "Here are the last 10 lines from kube-apiserver (${API_LOGFILE})" kube::log::error "=== BEGIN OF LOG ===" - tail -10 "${API_LOGFILE}" || : + tail -10 "${API_LOGFILE}" >&2 || : kube::log::error "=== END OF LOG ===" exit 1 fi