From: Martin Schwenke Date: Mon, 18 Apr 2016 04:19:10 +0000 (+1000) Subject: ctdb-scripts: Fix incorrect comment X-Git-Tag: talloc-2.1.7~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdaa82944a50756df9e8d39ab9387302a2b16cc3;p=thirdparty%2Fsamba.git ctdb-scripts: Fix incorrect comment Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/config/events.d/11.natgw b/ctdb/config/events.d/11.natgw index bc00788e7b7..d6f8161efd9 100755 --- 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