From 4217dc0560bf40b4fa7ae6a6f964bd56b418712e Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 14 Jun 2024 22:36:12 +0300 Subject: Refactoring --- bin/ak-follow | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ak-follow') diff --git a/bin/ak-follow b/bin/ak-follow index fd32d3a..c289b0f 100755 --- a/bin/ak-follow +++ b/bin/ak-follow @@ -9,14 +9,14 @@ then grep $1 $FOLLOWING if [ $? == 0 ] then - logit "ERROR" "Already exists" + _ak_log_error "Already exists" exit 1 fi echo $1 >> $FOLLOWING IPFS=$(_ak_ipfs_add $FOLLOWING) if [ $? != 0 ] then - logit "ERROR" "Addition failed" + _ak_log_error "Addition failed" exit 1 fi ak-profile set following $IPFS -- cgit v1.2.3