]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb: use properly configured ctdb in 70.iscsi
authorMichael Adam <obnox@samba.org>
Wed, 8 Jun 2016 10:44:28 +0000 (12:44 +0200)
committerMartin Schwenke <martins@samba.org>
Sat, 11 Jun 2016 04:20:14 +0000 (06:20 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/config/events.d/70.iscsi

index 33b71c42ada97e0da27ab64dc3338af7f5ef419f..9e75214e7e32a3abd5b6212874029e17f3227667 100755 (executable)
@@ -22,7 +22,7 @@ is_ctdb_managed_service || exit 0
 
 case "$1" in
     ipreallocated)
-       all_ips=$(ctdb -X ip | tail -n +2)
+       all_ips=$($CTDB -X ip | tail -n +2)
 
        # Block the iSCSI port.  Only block for the address families
        # we have configured.  This copes with, for example, ip6tables