From 539714ef19b64187b8b540b35ab677a2f398b3cc Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Wed, 5 Jul 2017 19:07:04 +0530 Subject: [PATCH] ctdb-scripts: Fix inline comments in 10.interface Signed-off-by: Anoop C S Reviewed-by: Martin Schwenke Reviewed-by: Amitay Isaacs Autobuild-User(master): Amitay Isaacs Autobuild-Date(master): Tue Jul 11 11:45:04 CEST 2017 on sn-devel-144 --- ctdb/config/events.d/10.interface | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.4.GIT