Skip to content

Commit badb6ac

Browse files
author
OpenShift Bot
authored
Merge pull request #12943 from JacobTanenbaum/BZ1356819
Merged by openshift-bot
2 parents 6fc3d0a + 6964254 commit badb6ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

images/router/clear-route-status.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ if [[ ${#} -ne 2 || "${@}" == *" help "* ]]; then
8484
exit
8585
fi
8686

87+
if ! command -v jq >/dev/null 2>&1; then
88+
printf "%s\n%s\n" "Command line JSON processor 'jq' not found." "please install 'jq' to use this script."
89+
exit 1
90+
fi
91+
8792
oc proxy > /dev/null &
8893
PROXY_PID="${!}"
8994

0 commit comments

Comments
 (0)