Merge pull request #1775 from lordvlad/patch-2

which -s flag is not universal
This commit is contained in:
Niclas Mietz 2018-11-22 06:12:40 +01:00 committed by GitHub
commit 567c2e057f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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