From 38d4d69a1d446a27791436c8ae1978ffc183f0e1 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Fri, 7 Apr 2017 00:24:26 -0400 Subject: [PATCH] Add fix for hack/update-header.sh Without this verify-boilerplate.sh gave an exit code of 1 and the script exited. --- hack/update-header.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/update-header.sh b/hack/update-header.sh index a03d6125b0..26ec5ac90f 100755 --- a/hack/update-header.sh +++ b/hack/update-header.sh @@ -16,7 +16,7 @@ . $(dirname "${BASH_SOURCE}")/common.sh -BAD_HEADERS=$(${KUBE_ROOT}/hack/verify-boilerplate.sh | awk '{ print $6}') +BAD_HEADERS=$((${KUBE_ROOT}/hack/verify-boilerplate.sh || true) | awk '{ print $6}') FORMATS="sh go Makefile Dockerfile" for i in ${FORMATS}