Skip to content

Commit

Permalink
Allow "register=..." and "register=>..."
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-N committed May 10, 2024
1 parent 0f9ca55 commit 6bdcad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/node-setup
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6bdcad3

Please sign in to comment.