diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-02 04:33:41 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-02 04:33:41 +0300 |
commit | 28a34e20d81b7948d88e190517198174822726a4 (patch) | |
tree | ef9607901f4e5c87659de546acf9065e7ee916fe /bin | |
parent | b61b49bd34514c9b3b7f5abca054ffb8351c119a (diff) | |
download | arching-kaos-tools-28a34e20d81b7948d88e190517198174822726a4.tar.gz arching-kaos-tools-28a34e20d81b7948d88e190517198174822726a4.tar.bz2 arching-kaos-tools-28a34e20d81b7948d88e190517198174822726a4.zip |
Outputs the actual previous block, regardless of being the genesis one
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ak-enter | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-enter b/bin/ak-enter index 7dd7ad7..7b72813 100755 --- a/bin/ak-enter +++ b/bin/ak-enter @@ -271,7 +271,7 @@ do if [ -v $previous ] then logit "WARNING" "Block $block has no previous zblock, appending pseudo genesis to exit with 2." - echo -n '"previous":"genesis"},{"genesis":"genesis"}]' + echo -n '"previous":"'$seed'"},{"genesis":"genesis"}]' logit "INFO" "Reached pseudo-genesis, counted $counter zblocks." exit 2 |