diff --git a/build/common.sh b/build/common.sh index b9c80fef0a..750440dcd1 100755 --- a/build/common.sh +++ b/build/common.sh @@ -330,7 +330,7 @@ function kube::build::has_docker() { } function kube::build::has_ip() { - ip -Version | grep 'iproute2' &> /dev/null + which ip &> /dev/null && ip -Version | grep 'iproute2' &> /dev/null } # Detect if a specific image exists