From 6bdcad36f95207a4f415b7266db65e24610fc118 Mon Sep 17 00:00:00 2001 From: Allan Nathanson <42244061+Allan-N@users.noreply.github.com> Date: Fri, 10 May 2024 16:22:28 -0400 Subject: [PATCH] Allow "register=..." and "register=>..." --- bin/node-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/node-setup b/bin/node-setup index 3359053..25cdb2c 100755 --- a/bin/node-setup +++ b/bin/node-setup @@ -843,7 +843,7 @@ get_node_settings () { rm $AWK_TMP # ... and pick up the node password too! - CURRENT_PASSWD=$(grep "^register.*=>\s*${CURRENT_NODE}:" $CONFIG_DIR/rpt_http_registrations.conf \ + CURRENT_PASSWD=$(grep "^register.*=>*\s*${CURRENT_NODE}:" $CONFIG_DIR/rpt_http_registrations.conf \ | sed 's/.*:\(.*\)@.*/\1/') if [[ -z $CURRENT_PASSWD ]]; then CURRENT_PASSWD='Not Set'