aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-09-21 18:45:30 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-09-21 18:45:30 +0300
commitdd662dccc2bf305318606c1cfb8df60f2cfcfce4 (patch)
tree6ffd6c6500723a91670245fa653a4095fac2e2a5
parent19cef571afe47a4fa8822c7f77cf0ef1eaed6415 (diff)
downloadarching-kaos-tools-dd662dccc2bf305318606c1cfb8df60f2cfcfce4.tar.gz
arching-kaos-tools-dd662dccc2bf305318606c1cfb8df60f2cfcfce4.tar.bz2
arching-kaos-tools-dd662dccc2bf305318606c1cfb8df60f2cfcfce4.zip
Added debugging message plus redirection of the output
-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"