diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-15 02:32:33 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-15 02:32:33 +0300 |
commit | 35040ce82f432203182b2290bef4973bd11cae97 (patch) | |
tree | 49c1ddf435c34f8c47a94cec2fcdbb982a5a49ac /lib | |
parent | 4cbcd6cf97ae49c5c58cd4004d7a097ceb71388a (diff) | |
download | arching-kaos-tools-35040ce82f432203182b2290bef4973bd11cae97.tar.gz arching-kaos-tools-35040ce82f432203182b2290bef4973bd11cae97.tar.bz2 arching-kaos-tools-35040ce82f432203182b2290bef4973bd11cae97.zip |
bugfix+refactoring
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/_ak_log | 4 | ||||
-rwxr-xr-x | lib/_ak_script | 2 |
2 files changed, 3 insertions, 3 deletions
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 } |