2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-22 22:33:40 +01:00

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

View File

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