aboutsummaryrefslogtreecommitdiff
path: root/bin/enter
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2022-09-17 11:07:07 +0300
committerkaotisk <kaotisk@arching-kaos.org>2022-09-17 11:07:07 +0300
commitdfbcb50aaf34520512f7b94d76b3c355e498574a (patch)
treec23710b156db8d76f32a5d9f5dd8e497bcb47d58 /bin/enter
parente002960333010d784ed37a0b8cca90efb492dc9c (diff)
downloadarching-kaos-tools-dfbcb50aaf34520512f7b94d76b3c355e498574a.tar.gz
arching-kaos-tools-dfbcb50aaf34520512f7b94d76b3c355e498574a.tar.bz2
arching-kaos-tools-dfbcb50aaf34520512f7b94d76b3c355e498574a.zip
Return counted blocks to the log even if we end up on pseudo-genesis
Diffstat (limited to 'bin/enter')
-rwxr-xr-xbin/enter1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/enter b/bin/enter
index 98107a3..3b18880 100755
--- a/bin/enter
+++ b/bin/enter
@@ -280,6 +280,7 @@ do
then
logthis "[WARNING]" "Block $block has no previous zblock, appending pseudo genesis to exit gracefully."
echo '"previous":"genesis"},{"genesis":"genesis"}]'
+ logthis "[INFO]" "Reached pseudo-genesis, counted $counter zblocks."
exit 0
# Otherwise, we inform of the sequence