From 30a2bc6cc950bcd460e5a3651ab869a732a0f50b Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 30 Jun 2024 07:01:15 +0300 Subject: Refactoring --- lib/_ak_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/_ak_network') 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" ] -- cgit v1.2.3