From 5f8b22878ef1cefa65bcf862e72689721bef9a2b Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Sat, 26 Sep 2009 11:25:36 +0200 Subject: [PATCH] Fix a bashism in 11.natgw --- config/events.d/11.natgw | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/config/events.d/11.natgw b/config/events.d/11.natgw index bd31197..4d97b9a 100644 --- a/config/events.d/11.natgw +++ b/config/events.d/11.natgw @@ -43,7 +43,7 @@ case $cmd in NATGWIP=`ctdb natgwlist | head -1 | sed -e "s/^[^ ]* *//"` CTDB_NATGW_PUBLIC_IP_HOST=`echo $CTDB_NATGW_PUBLIC_IP | sed -e "s/\/.*/\/32/"` - if [ "$NATGWMASTER" == "-1" ]; then + if [ "$NATGWMASTER" = "-1" ]; then echo "There is not NATGW master node" exit 1 fi -- 1.6.3.3