Make the updater issue a warning so ESCALATE_MAILTO is used.

git-svn-id: svn+ssh://svn.ipng.nl/usr/share/subversion/repositories/irc.efnet.nl@12 0a436592-62d7-4152-98a5-b7e29e440240
This commit is contained in:
pim
2009-09-07 19:57:33 +00:00
parent 66b7312ac7
commit e5182b840e

View File

@ -1,6 +1,6 @@
NAME="ircd_update" NAME="ircd_update"
AUTHOR="Pim van Pelt" AUTHOR="Pim van Pelt"
MAILTO="pim@ipng.nl" # MAILTO="pim@ipng.nl"
ESCALATE_MAILTO="pim@ipng.nl" ESCALATE_MAILTO="pim@ipng.nl"
MASTERLOG="/home/ircd/cronscripts/logs/${NAME}.log" MASTERLOG="/home/ircd/cronscripts/logs/${NAME}.log"
@ -17,7 +17,7 @@ function bitcron_main()
[ ! -r $DIFF ] && fatal "Cannot read diff file" [ ! -r $DIFF ] && fatal "Cannot read diff file"
[ -s $DIFF ] && { [ -s $DIFF ] && {
echo "Incorporating these diffs from the repository" warning "Incorporating these diffs from the repository"
cat $DIFF cat $DIFF
svn update || error "Could not update local copy" svn update || error "Could not update local copy"
echo "Sending -HUP to the ircd" echo "Sending -HUP to the ircd"