git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09173f8
)
ctdb-scripts: Fix incorrect comment
author
Martin Schwenke
<martin@meltin.net>
Mon, 18 Apr 2016 04:19:10 +0000
(14:19 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Mon, 25 Apr 2016 05:10:14 +0000
(07:10 +0200)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
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 bc00788e7b7451c3ceb071ec9c73cd4854f9dac6..d6f8161efd9b138e122932d01a235d7ed264730a 100755
(executable)
--- a/
ctdb/config/events.d/11.natgw
+++ b/
ctdb/config/events.d/11.natgw
@@
-156,7
+156,7
@@
natgw_set_slave ()
natgw_ensure_master ()
{
set -- $("${CTDB_HELPER_BINDIR}/ctdb_natgw" master)
- natgwmaster="${1:--1}" # Default is -1
if natgwlist fails
+ natgwmaster="${1:--1}" # Default is -1
, for failure above
natgwip="$2"
if [ "$natgwmaster" = "-1" ]; then