From 7f1ff4dbd82c5627e45a4fc65e52ab0c19854440 Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Sat, 26 Mar 2011 21:32:34 +0100 Subject: [PATCH] Less verbosity when there is no public addresses file This partialy reverts 81eff51, but still avoid spam. (This used to be ctdb commit e646142f4d28b5401235cd5edee325f7a29f8193) --- ctdb/config/events.d/10.interface | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ctdb/config/events.d/10.interface b/ctdb/config/events.d/10.interface index 356ee08245f..dd54f1e3952 100755 --- a/ctdb/config/events.d/10.interface +++ b/ctdb/config/events.d/10.interface @@ -13,6 +13,9 @@ loadconfig } [ ! -f "$CTDB_PUBLIC_ADDRESSES" ] && { + if [ "$1" = "init" ]; then + echo "No public addresses file found. Nothing to do for 10.interfaces" + fi exit 0 } -- 2.34.1