Browse Source

kubectl-compare: fix usage function

master
Maxim Likhachev 5 years ago
parent
commit
826773f93e
  1. 2
      scripts/kubectl-compare

2
scripts/kubectl-compare

@ -86,7 +86,7 @@ TYPE=pod @@ -86,7 +86,7 @@ TYPE=pod
usage() {
sed -E -n '/^.*MAN/,/^MAN$/{//!p;}; /^MAN$/q' "$0" | sed -E 's/=head. |[LIBC]<|\b>*//g; /=cut/d'
exit "${1:0}"
exit "${1:-0}"
}
die() {

Loading…
Cancel
Save