1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb-scripts: Fix incorrect comment

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2016-04-18 14:19:10 +10:00 committed by Amitay Isaacs
parent 09173f80d9
commit cdaa82944a

View File

@ -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