X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fhelm%2Fplugins%2Fundeploy%2Fundeploy.sh;h=a3b0e3c623fa498bf1c5e37dd3168888a16862e2;hb=e4ebb69aaa3ae453578510c2005a4b9a683d65d4;hp=72c64244c0a579eca539d0090e423a163a7ef014;hpb=6b6df44c23816874b9d138825ca1522492fe0a1d;p=oom.git diff --git a/kubernetes/helm/plugins/undeploy/undeploy.sh b/kubernetes/helm/plugins/undeploy/undeploy.sh index 72c64244c0..a3b0e3c623 100755 --- a/kubernetes/helm/plugins/undeploy/undeploy.sh +++ b/kubernetes/helm/plugins/undeploy/undeploy.sh @@ -29,9 +29,9 @@ undeploy() { done } -if [ $# < 1 ]; then +if [ -z "$1" ]; then echo "Error: command 'undeploy' requires a release name" - exit 0 + exit 1 fi case "${1:-"help"}" in