hgeditor: hide checksum mismatch message from md5sum
authormpm@selenic.com
Sat, 23 Jul 2005 10:08:40 -0500
changeset 769 0c033ef053ab
parent 768 20e95c245bc3
child 770 b3820ce0e88a
hgeditor: hide checksum mismatch message from md5sum
hgeditor
--- 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
     {