changeset 769:0c033ef053ab

hgeditor: hide checksum mismatch message from md5sum
author mpm@selenic.com
date Sat, 23 Jul 2005 10:08:40 -0500
parents 20e95c245bc3
children b3820ce0e88a
files hgeditor
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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
     {