From 826773f93e4b1d69aba9ffd85bafb1ce62dca3a6 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Fri, 6 Nov 2020 00:06:28 +0300 Subject: [PATCH] kubectl-compare: fix usage function --- scripts/kubectl-compare | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kubectl-compare b/scripts/kubectl-compare index ebca8a4..4439358 100755 --- a/scripts/kubectl-compare +++ b/scripts/kubectl-compare @@ -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() {