checks prysm.sh args size (#5634)

* checks boundaries
* Merge branch 'master' into fix-prysm-sh-unbounded-bug
This commit is contained in:
Victor Farazdagi 2020-04-27 00:24:32 +03:00 committed by GitHub
parent 258d0412c1
commit 3782e70e6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,7 +230,7 @@ esac
verify $process
if [[ $2 == --download-only ]]; then
if [[ "$#" -gt 1 ]] && [[ $2 == --download-only ]]; then
color "37" "Only download operation is requested, done."
exit 0
fi