aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/_ak_network4
-rwxr-xr-xlib/_ak_zchain4
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
}