ctdb-scripts: Fix inline comments in 10.interface
authorAnoop C S <anoopcs@redhat.com>
Wed, 5 Jul 2017 13:37:04 +0000 (19:07 +0530)
committerAmitay Isaacs <amitay@samba.org>
Tue, 11 Jul 2017 09:45:04 +0000 (11:45 +0200)
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue Jul 11 11:45:04 CEST 2017 on sn-devel-144

ctdb/config/events.d/10.interface

index 97227e8178beb24d7163009ae8dc135e05f8c002..f2d44dad12532a0dfeabc109dd8493f8f198bf81 100755 (executable)
@@ -38,7 +38,7 @@ get_all_interfaces ()
     # That is, for all but the 1st line, get the 1st field.
     ctdb_ifaces=$($CTDB -X ifaces | sed -e '1d' -e 's@^|@@' -e 's@|.*@@')
 
-    # Add $ctdb_interfaces and uniquify
+    # Add $ctdb_ifaces and make $all_interfaces unique
     # Use word splitting to squash whitespace
     # shellcheck disable=SC2086
     all_interfaces=$(echo $all_interfaces $ctdb_ifaces | tr ' ' '\n' | sort -u)