Exit 1 not Exit 0

Wrong exit value
This commit is contained in:
Charlie Drage 2017-08-04 11:19:37 -04:00
parent 3b59d9b615
commit 992dd53434

View File

@ -8,17 +8,17 @@
# Check requirements! # Check requirements!
if ! hash go 2>/dev/null; then if ! hash go 2>/dev/null; then
echo "ERROR: go required" echo "ERROR: go required"
exit 0 exit 1
fi fi
if ! hash docker 2>/dev/null; then if ! hash docker 2>/dev/null; then
echo "ERROR: docker required" echo "ERROR: docker required"
exit 0 exit 1
fi fi
if ! hash kubectl 2>/dev/null; then if ! hash kubectl 2>/dev/null; then
echo "ERROR: kubectl required" echo "ERROR: kubectl required"
exit 0 exit 1
fi fi
# First off, we have to compile the latest binary # First off, we have to compile the latest binary