aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-stellar-get-participants
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-stellar-get-participants')
-rwxr-xr-xbin/ak-stellar-get-participants10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/ak-stellar-get-participants b/bin/ak-stellar-get-participants
index 838ad08..82c5503 100755
--- a/bin/ak-stellar-get-participants
+++ b/bin/ak-stellar-get-participants
@@ -4,7 +4,7 @@ tempdir=`mktemp -d`
tempfile="$tempdir/tmp"
tempaddr="$tempdir/tmpaddr"
logit(){
- ak-logthis "<$PROGRAM>" "$1" "$2"
+ ak-logthis "$PROGRAM" "$1" "$2"
}
stellarParticipants="$AK_WORKDIR/stellar-network-participants"
stellarParticipantsOnline="$AK_WORKDIR/stellar-network-participants-online"
@@ -49,9 +49,9 @@ show_ids(){
if [ "$flag" == "0" ]
then
echo $test >> $stellarParticipants
- logit "[INFO]" "Added $test"
+ logit "INFO" "Added $test"
else
- logit "[INFO]" "$test already there. Skipping..."
+ logit "INFO" "$test already there. Skipping..."
fi
i="$(expr $i + 1)"
done
@@ -99,9 +99,9 @@ do
if [ "$flag" == "0" ]
then
echo $addressValuePair >> $stellarParticipantsOnline
- logit "[INFO]" "$p is configured with $(echo $addressValuePair | awk '{ print $2 }'). Added to online participants."
+ logit "INFO" "$p is configured with $(echo $addressValuePair | awk '{ print $2 }'). Added to online participants."
else
- logit "[INFO]" "$(echo $addressValuePair | awk '{ print $2 }') is already in $stellarParticipantsOnline. Skipping..."
+ logit "INFO" "$(echo $addressValuePair | awk '{ print $2 }') is already in $stellarParticipantsOnline. Skipping..."
fi
fi
done < $stellarParticipants