aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/_ak_zchain3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/_ak_zchain b/lib/_ak_zchain
index aef81c9..3afe7b1 100755
--- a/lib/_ak_zchain
+++ b/lib/_ak_zchain
@@ -25,7 +25,8 @@ _ak_zchain_reset(){
fi
fi
- _ak_ipfs_files_stat /zlatest
+ _ak_log_info "Checking if /zlatest file exists"
+ _ak_ipfs_files_stat /zlatest > /dev/null
if [ $? -eq 0 ]
then
_ak_log_info "Archive the previous AK_ZLATEST"