improve error message mailed when cvs update dies

This commit is contained in:
endico%mozilla.org 1999-10-22 23:07:44 +00:00
parent e5ee0548df
commit 4907085cbd

View File

@ -97,7 +97,7 @@ if [ -f $db_dir/update.log ]
ERROR=`grep "server aborted" $db_dir/update.log`
if [ "$ERROR" != "" ]
then
echo $ERROR | /usr/bin/mail -s "lxr: cvs server aborted" root
echo $ERROR | /usr/bin/mail -s "lxr: $1 aborted" root
exit
fi
fi