aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_gpg
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_ak_gpg')
-rwxr-xr-xlib/_ak_gpg6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/_ak_gpg b/lib/_ak_gpg
index b74d411..81229e1 100755
--- a/lib/_ak_gpg
+++ b/lib/_ak_gpg
@@ -9,17 +9,17 @@ _ak_gpg(){
_ak_gpg_key_import_from_file(){
if [ -z $1 ]
then
- logit "[ERROR]" "No argument given"
+ _ak_log_error "No argument given"
exit 1
fi
if [ ! -n "$1" ]
then
- logit "[ERROR]" "Empty argument given"
+ _ak_log_error "Empty argument given"
exit 1
fi
if [ ! -f "$1" ]
then
- logit "[ERROR]" "File not found"
+ _ak_log_error "File not found"
exit 1
fi
_ak_gpg --import $1 > /dev/null 2>&1