---
 scripts/opensaf_scale_out | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/opensaf_scale_out b/scripts/opensaf_scale_out
index dadb270c3..f9f5cde7a 100644
--- a/scripts/opensaf_scale_out
+++ b/scripts/opensaf_scale_out
@@ -41,7 +41,7 @@ exit 0
 # for node in "$@"
 #  do
 #     logger "> [$node]"
-#     IFS=","
+#     IFS=$CLM_IFS
 #     for arg in $node
 #      do
 #        logger ">> $arg"
@@ -61,7 +61,7 @@ imm_xml=$tmpdir/imm.xml
 
 immfind -c SaClmNode | sed -e 's/^[^=]*=//;s/,.*$//' > "$nodes_cfg_tmp"
 for node in "$@"; do
-    node_name=$(echo "$node" | cut -d"$CLM_IFS" -f2)
+    node_name=$(echo "$node" | awk -F "$CLM_IFS" 'BEGIN{RS="$^"} {print $2}')
     echo "$node_name" >> "$nodes_cfg_tmp"
 done
 rm -f "$nodes_cfg"
-- 
2.15.0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to