diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-09-21 20:17:38 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-09-21 20:17:38 +0300 |
commit | bf3a3339206bd816251d52a596884326ca1f968a (patch) | |
tree | 00d8ab25ddc62fae57ca2eeed270acf0b45d4099 /lib | |
parent | 418f1a61241cda4d3f133d0509ad0e712275a684 (diff) | |
download | arching-kaos-tools-bf3a3339206bd816251d52a596884326ca1f968a.tar.gz arching-kaos-tools-bf3a3339206bd816251d52a596884326ca1f968a.tar.bz2 arching-kaos-tools-bf3a3339206bd816251d52a596884326ca1f968a.zip |
Fixed curl bugged call
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/_ak_network | 4 | ||||
-rwxr-xr-x | lib/_ak_zchain | 4 |
2 files changed, 4 insertions, 4 deletions
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 } |