mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
Merge pull request #1775 from lordvlad/patch-2
which -s flag is not universal
This commit is contained in:
commit
567c2e057f
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user