aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-stellar-get-participants
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-11 19:36:28 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-11 19:36:28 +0200
commitbf87d94330c6c6153eab9f1a3016efeef5ebc754 (patch)
tree99ca0366d4d956848d8793130734e5761794dade /bin/ak-stellar-get-participants
parentd4e498a18f700e288764cdf8799a2b07a76e1615 (diff)
downloadarching-kaos-tools-bf87d94330c6c6153eab9f1a3016efeef5ebc754.tar.gz
arching-kaos-tools-bf87d94330c6c6153eab9f1a3016efeef5ebc754.tar.bz2
arching-kaos-tools-bf87d94330c6c6153eab9f1a3016efeef5ebc754.zip
Introduced ./lib for common stuff
ofc, logit was the first lib to add... finally
Diffstat (limited to 'bin/ak-stellar-get-participants')
-rwxr-xr-xbin/ak-stellar-get-participants5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/ak-stellar-get-participants b/bin/ak-stellar-get-participants
index 82c5503..11ea008 100755
--- a/bin/ak-stellar-get-participants
+++ b/bin/ak-stellar-get-participants
@@ -3,9 +3,8 @@ PROGRAM="$(basename $0)"
tempdir=`mktemp -d`
tempfile="$tempdir/tmp"
tempaddr="$tempdir/tmpaddr"
-logit(){
- ak-logthis "$PROGRAM" "$1" "$2"
-}
+source $AK_LIBDIR/logit
+
stellarParticipants="$AK_WORKDIR/stellar-network-participants"
stellarParticipantsOnline="$AK_WORKDIR/stellar-network-participants-online"
if [ ! -f "$stellarParticipants" ]