diff hgeditor @ 769:0c033ef053ab

hgeditor: hide checksum mismatch message from md5sum
author mpm@selenic.com
date Sat, 23 Jul 2005 10:08:40 -0500
parents 3e73bf876f17
children 33a272b79e54 8f5637f0a0c0 0902ffece4b4
line wrap: on
line diff
--- a/hgeditor	Sat Jul 23 10:00:56 2005 -0500
+++ b/hgeditor	Sat Jul 23 10:08:40 2005 -0500
@@ -42,7 +42,7 @@
 
 CHECKSUM=`md5sum "$T1"`
 $EDITOR "$T1" "$T2" || cleanup_exit $?
-echo "$CHECKSUM" | md5sum -c 2>/dev/null && cleanup_exit 13
+echo "$CHECKSUM" | md5sum -c >/dev/null 2>&1 && cleanup_exit 13
 
 if [ "$SIGN" == "1" ]; then
     {