bash4 version check failure should go to STDERR.

This commit is contained in:
Richard Soderberg 2015-09-05 05:02:29 -07:00
parent 0728751208
commit 12ede64882
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ BENCHMARKITER=30
# cipherscan requires bash4, which doesn't come by default in OSX
if [[ ${BASH_VERSINFO[0]} -lt 4 ]]; then
echo "Bash version 4 is required to run cipherscan."
echo "Please upgrade your version of bash (ex: brew install bash)."
echo "Bash version 4 is required to run cipherscan." 1>&2
echo "Please upgrade your version of bash (ex: brew install bash)." 1>&2
exit 1
fi