aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-tempassin
diff options
context:
space:
mode:
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"