diff --git a/hcache/hcachever.sh b/hcache/hcachever.sh index c5343a3016d..d4194c0d57e 100755 --- a/hcache/hcachever.sh +++ b/hcache/hcachever.sh @@ -61,7 +61,7 @@ md5prog () { openssl=`which openssl` if [ $? = 0 ];then # Check that openssl supports the -r option (requires version 1.1.0) - echo test | openssl md5 -r 2&> /dev/null + echo test | openssl md5 -r > /dev/null 2>&1 if [ $? = 0 ]; then echo "$openssl md5 -r" return