aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/_ak_log4
-rwxr-xr-xlib/_ak_script2
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
}