From b5707d56e6b4a43b6c0717076c12e34d31451dd2 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Wed, 5 Dec 2018 13:49:56 -0800 Subject: [PATCH] add or-trues --- hack/jenkins/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/jenkins/common.sh b/hack/jenkins/common.sh index 482d2b170e..f8f3b94aef 100755 --- a/hack/jenkins/common.sh +++ b/hack/jenkins/common.sh @@ -162,7 +162,7 @@ if pgrep kubectl; then fi function cleanup_stale_routes() { - stale_routes=$(netstat -rn -f inet | awk '{ print $1 }' | grep 10.96.0.0) + stale_routes=$(netstat -rn -f inet | awk '{ print $1 }' | grep 10.96.0.0 || true) if [[ "${stale_routes}" != "" ]]; then echo "WARNING: deleting stale tunnel routes: ${stale_routes}" for route in ${stale_routes}; do