don't fail if alternc_reload fails

This commit is contained in:
Antoine Beaupré 2009-10-01 16:16:50 +00:00
parent 51fb49a25c
commit 22e1b56bf1
1 changed files with 2 additions and 2 deletions

View File

@ -242,10 +242,10 @@ IFS="$OLD_IFS"
RELOAD_ZONES=`cat "$RELOAD_ZONES_TMP_FILE"`
# we assume we run apache and bind on the master
alternc_reload $RELOAD_ZONES
alternc_reload $RELOAD_ZONES || true
for slave in $ALTERNC_SLAVES; do
if [ "$slave" != "localhost" ]; then
ssh alternc@$slave alternc_reload "$RELOAD_ZONES"
ssh alternc@$slave alternc_reload "$RELOAD_ZONES" || true
fi
done