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:
parent
09173f80d9
commit
cdaa82944a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user