diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-11 19:36:28 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-11 19:36:28 +0200 |
commit | bf87d94330c6c6153eab9f1a3016efeef5ebc754 (patch) | |
tree | 99ca0366d4d956848d8793130734e5761794dade /bin/ak-find-latest-mined-sblock | |
parent | d4e498a18f700e288764cdf8799a2b07a76e1615 (diff) | |
download | arching-kaos-tools-bf87d94330c6c6153eab9f1a3016efeef5ebc754.tar.gz arching-kaos-tools-bf87d94330c6c6153eab9f1a3016efeef5ebc754.tar.bz2 arching-kaos-tools-bf87d94330c6c6153eab9f1a3016efeef5ebc754.zip |
Introduced ./lib for common stuff
ofc, logit was the first lib to add... finally
Diffstat (limited to 'bin/ak-find-latest-mined-sblock')
-rwxr-xr-x | bin/ak-find-latest-mined-sblock | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/ak-find-latest-mined-sblock b/bin/ak-find-latest-mined-sblock index 73bc67a..ca435de 100755 --- a/bin/ak-find-latest-mined-sblock +++ b/bin/ak-find-latest-mined-sblock @@ -3,9 +3,8 @@ MINED_BLOCKS_DIR="/home/$USER/.arching-kaos/mined_blocks" cd $MINED_BLOCKS_DIR PROGRAM="$(basename $0)" declare -A counters -logit(){ - ak-logthis "$PROGRAM" "$1" "$2" -} +source $AK_LIBDIR/logit + further(){ # logit "INFO" "Diving into $1" lookfor $1 |