Skip to content

Commit

Permalink
fix kubetest2 version check (#1881)
Browse files Browse the repository at this point in the history
  • Loading branch information
cofyc authored Mar 9, 2020
1 parent 9d49e04 commit a8e8786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function hack::__verify_kubetest2() {
local n="$1"
local v="$2"
if test -x "$OUTPUT_BIN/$n"; then
local tmpv=$($OUTPUT_BIN/$n --version 2 >/dev/null | awk '{print $2}')
local tmpv=$($OUTPUT_BIN/$n --version 2>&1 | awk '{print $2}')
[[ "$tmpv" == "$v" ]]
return
fi
Expand Down

0 comments on commit a8e8786

Please sign in to comment.