From 618d88b16a83656b3530152f8fda6928e7633c66 Mon Sep 17 00:00:00 2001 From: reusch Date: Mon, 19 Nov 2018 17:35:08 +0100 Subject: [PATCH] which -s flag is not universal --- kubernetes/deploy.sh | 2 +- kubernetes/teardown.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/deploy.sh b/kubernetes/deploy.sh index f899ff41..2e4982d2 100755 --- a/kubernetes/deploy.sh +++ b/kubernetes/deploy.sh @@ -1,6 +1,6 @@ #!/bin/bash -if ! which -s kubectl; then +if ! which kubectl > /dev/null; then echo "kubectl command not installed" exit 1 fi diff --git a/kubernetes/teardown.sh b/kubernetes/teardown.sh index 3937c4bc..3ee820fb 100755 --- a/kubernetes/teardown.sh +++ b/kubernetes/teardown.sh @@ -1,6 +1,6 @@ #!/bin/bash -if ! which -s kubectl; then +if ! which kubectl > /dev/null; then echo "kubectl command not installed" exit 1 fi