From 3782e70e6f0be204750f411604b8aa2557308f93 Mon Sep 17 00:00:00 2001 From: Victor Farazdagi Date: Mon, 27 Apr 2020 00:24:32 +0300 Subject: [PATCH] checks prysm.sh args size (#5634) * checks boundaries * Merge branch 'master' into fix-prysm-sh-unbounded-bug --- prysm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prysm.sh b/prysm.sh index 6a10130cce..0dd368e9f9 100755 --- a/prysm.sh +++ b/prysm.sh @@ -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