]> granicus.if.org Git - neomutt/commitdiff
Fix stdout + stderr redirection in hcachever.sh
authorPietro Cerutti <gahr@gahr.ch>
Mon, 27 Nov 2017 16:31:11 +0000 (16:31 +0000)
committerPietro Cerutti <gahr@gahr.ch>
Mon, 27 Nov 2017 16:31:11 +0000 (16:31 +0000)
hcache/hcachever.sh

index c5343a3016d5918e69588a4f8a82562aaa8e1eb1..d4194c0d57e455a43312464b2fc361f6feaed3b8 100755 (executable)
@@ -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