aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_network
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-30 07:01:15 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-30 07:01:15 +0300
commit30a2bc6cc950bcd460e5a3651ab869a732a0f50b (patch)
treeff9abace41c2d356301f0fcd72211ee974c7efb9 /lib/_ak_network
parent35ddac1871fbbc608417e1b1ec2012bf09687edd (diff)
downloadarching-kaos-tools-30a2bc6cc950bcd460e5a3651ab869a732a0f50b.tar.gz
arching-kaos-tools-30a2bc6cc950bcd460e5a3651ab869a732a0f50b.tar.bz2
arching-kaos-tools-30a2bc6cc950bcd460e5a3651ab869a732a0f50b.zip
Refactoring
Diffstat (limited to 'lib/_ak_network')
-rwxr-xr-xlib/_ak_network2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_ak_network b/lib/_ak_network
index aa8105e5..1d77eef 100755
--- a/lib/_ak_network
+++ b/lib/_ak_network
@@ -100,7 +100,7 @@ _ak_network_scan_stellar(){
test="$(curl \
--connect-timeout 3 \
https://horizon.stellar.org/accounts/$p/data/config 2>/dev/null | grep value)"
- if [ "$?" == 0 ]
+ if [ $? -eq 0 ]
then
addressValuePair="$(printf '%s %s\n' "$p" "$(echo $test | sed -e 's/^.*: "//g; s/"//g' | base64 -d)")"
while IFS="" read -r x || [ -n "$x" ]