Make the updater issue a warning so ESCALATE_MAILTO is used.
git-svn-id: svn+ssh://svn.ipng.nl/usr/share/subversion/repositories/ircnet.ipng.ch@26 c5d60b8d-fdcb-4146-b734-af4215e9eb71
This commit is contained in:
@ -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"
|
||||||
|
Reference in New Issue
Block a user