From 22e1b56bf140885f43e2db75d75f2d1ea029050d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Thu, 1 Oct 2009 16:16:50 +0000 Subject: [PATCH] don't fail if alternc_reload fails --- src/update_domains.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/update_domains.sh b/src/update_domains.sh index bbccf92e..4006664d 100755 --- a/src/update_domains.sh +++ b/src/update_domains.sh @@ -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