git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14a6592
)
Fix bashism in events.d/11.natgw
author
Mathieu Parent
<math.parent@gmail.com>
Tue, 10 Nov 2009 11:04:13 +0000
(12:04 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 10 Nov 2009 11:07:30 +0000
(12:07 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit
6ccb495d1110157c06596763c7e252f3182c251e
)
ctdb/config/events.d/11.natgw
patch
|
blob
|
history
diff --git
a/ctdb/config/events.d/11.natgw
b/ctdb/config/events.d/11.natgw
index 001b17b70b133e6df31cb53819cdd9f6ee3c4c92..4ef651dfdcf969bd3a49360f5572578c017a6135 100644
(file)
--- a/
ctdb/config/events.d/11.natgw
+++ b/
ctdb/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