From 35040ce82f432203182b2290bef4973bd11cae97 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 15 Jun 2024 02:32:33 +0300 Subject: bugfix+refactoring --- lib/_ak_log | 4 ++-- lib/_ak_script | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/_ak_log b/lib/_ak_log index 8d1e227..0674a45 100755 --- a/lib/_ak_log +++ b/lib/_ak_log @@ -87,8 +87,8 @@ _ak_log_message(){ fi } -logit(){ - _ak_log_message "$PROGRAM" "$1" "$2" +_ak_log_exit(){ + _ak_log_message "$PROGRAM" "EXIT" "$1" } _ak_log_warning(){ diff --git a/lib/_ak_script b/lib/_ak_script index 9838c15..4dbf34a 100755 --- a/lib/_ak_script +++ b/lib/_ak_script @@ -18,7 +18,7 @@ _ak_exit_program(){ then _ak_log_error "$2 ($1)" else - _ak_log_message "EXIT" "$2" + _ak_log_exit "$2" fi exit $1 } -- cgit v1.2.3