openshift-evangelists / oc-cluster-wrapper

oc cluster up bash wrapper
Apache License 2.0
144 stars 72 forks source link

status method returning 0 when cluster is down #11

Closed bjartek closed 7 years ago

bjartek commented 7 years ago

The normal exit code when something is ok i 0, everything else means failed.

I suggest changing the two exit codes used in the status method.

Also i do not see why the status method needs an -s flag. you can always just do

status &> /dev/null when calling it to get rid of all the output.

jorgemoralespou commented 7 years ago

Changes merged