diff options
author | Anoop C S <anoopcs@redhat.com> | 2017-07-05 19:07:04 +0530 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2017-07-11 11:45:04 +0200 |
commit | 539714ef19b64187b8b540b35ab677a2f398b3cc (patch) | |
tree | bae8da50c62db51b3e66a988184c49aa78134822 /ctdb/config | |
parent | 67466271c26ca10c6bce6a51f9dd97a22258f8a4 (diff) | |
download | samba-539714ef19b64187b8b540b35ab677a2f398b3cc.tar.gz |
ctdb-scripts: Fix inline comments in 10.interface
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
Diffstat (limited to 'ctdb/config')
-rwxr-xr-x | ctdb/config/events.d/10.interface | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/events.d/10.interface b/ctdb/config/events.d/10.interface index 97227e8178b..f2d44dad125 100755 --- a/ctdb/config/events.d/10.interface +++ b/ctdb/config/events.d/10.interface @@ -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) |