aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-tempassin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-01 19:26:24 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-01 19:26:24 +0200
commitf8d2236e55e5c369b218017d1de1058d6a8ee361 (patch)
tree1cdd4ea1476c3062d3dd38ee1ba62d6bb98eb680 /bin/ak-tempassin
parent7affa2082f61455a413d0c8fea08e79935d4f308 (diff)
downloadarching-kaos-tools-f8d2236e55e5c369b218017d1de1058d6a8ee361.tar.gz
arching-kaos-tools-f8d2236e55e5c369b218017d1de1058d6a8ee361.tar.bz2
arching-kaos-tools-f8d2236e55e5c369b218017d1de1058d6a8ee361.zip
Log formatting adjustment
Diffstat (limited to 'bin/ak-tempassin')
-rwxr-xr-xbin/ak-tempassin8
1 files changed, 4 insertions, 4 deletions
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"