aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_gpg
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-14 22:36:12 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-14 22:36:12 +0300
commit4217dc0560bf40b4fa7ae6a6f964bd56b418712e (patch)
tree020e304e23b29d0eb12199c2f605f1262a3beb04 /lib/_ak_gpg
parent7743751290bb4e7678940be65725a48386e7b986 (diff)
downloadarching-kaos-tools-4217dc0560bf40b4fa7ae6a6f964bd56b418712e.tar.gz
arching-kaos-tools-4217dc0560bf40b4fa7ae6a6f964bd56b418712e.tar.bz2
arching-kaos-tools-4217dc0560bf40b4fa7ae6a6f964bd56b418712e.zip
Refactoring
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