From bf3a3339206bd816251d52a596884326ca1f968a Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 21 Sep 2024 20:17:38 +0300 Subject: Fixed curl bugged call --- lib/_ak_network | 4 ++-- lib/_ak_zchain | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/_ak_network b/lib/_ak_network index 5d2900c..30d72b7 100755 --- a/lib/_ak_network +++ b/lib/_ak_network @@ -198,7 +198,7 @@ _ak_network_scan_cjdns_full(){ online_ips="$TEMPDIR/oi" filtered_online_pubkeys_ips="$TEMPDIR/fopi" curl -s \ - --connect-timeout=5 \ + --connect-timeout 5 \ "http://hia.cjdns.ca/watchlist/c/walk.pubkey" > $pubkeys_ips if [ $? -ne 0 ] then @@ -206,7 +206,7 @@ _ak_network_scan_cjdns_full(){ exit 1 fi curl -s \ - --connect-timeout=5 \ + --connect-timeout 5 \ "http://hia.cjdns.ca/watchlist/hia.iplist" > $online_ips if [ $? -ne 0 ] then diff --git a/lib/_ak_zchain b/lib/_ak_zchain index 42ac4ef..73b10fb 100755 --- a/lib/_ak_zchain +++ b/lib/_ak_zchain @@ -28,7 +28,7 @@ _ak_zchain_reset(){ fi _ak_log_info "Checking if /zlatest file exists" - _ak_ipfs files stat /zlatest > /dev/null 2>&1 + _ak_ipfs_files_stat /zlatest > /dev/null 2>&1 if [ $? -eq 0 ] then _ak_log_info "Archive the previous AK_ZLATEST" @@ -73,7 +73,7 @@ _ak_zchain_reset(){ exit 1 fi - echo "Reset was successful" + _ak_log_info "Reset was successful" exit 0 } -- cgit v1.2.3