Skip to content

Commit

Permalink
asdf-community#19 improve download error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
onmomo committed Aug 17, 2022
1 parent 11ac5c3 commit 226ec77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ install_kubectl() {
if curl -L -sf "$download_url" -o "$bin_path"; then
chmod +x $bin_path
else
echo "Failed to download kubectl from ${download_url}. Does the version exist and is available in the requested $(get_cpu) architecture?"
exit 1
fi
}
Expand Down

0 comments on commit 226ec77

Please sign in to comment.