From f8d2236e55e5c369b218017d1de1058d6a8ee361 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 1 Mar 2024 19:26:24 +0200 Subject: Log formatting adjustment --- bin/ak-tempassin | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/ak-tempassin') diff --git a/bin/ak-tempassin b/bin/ak-tempassin index ac7b600..575e55e 100755 --- a/bin/ak-tempassin +++ b/bin/ak-tempassin @@ -2,14 +2,14 @@ AK_TEMP="$(mktemp -d /tmp/aktmp-XXXXXXX)" PROGRAM="$(basename $0)" logit(){ - ak-logthis "<$PROGRAM>" "$1" "$2" + ak-logthis "$PROGRAM" "$1" "$2" } if [ ! -d "$AK_TEMP" ] then - logit "[ERROR]" "Could not make $AK_TEMP directory to work in" + logit "ERROR" "Could not make $AK_TEMP directory to work in" echo "Could not make $AK_TEMP directory to work in" exit 1 fi - -logit "[INFO]" "$AK_TEMP created successfully" + +logit "INFO" "$AK_TEMP created successfully" echo "$AK_TEMP" -- cgit v1.2.3