aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_ipfs
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-05-30 16:58:54 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-05-30 16:58:54 +0300
commit6741ef52b72a164fcbc9ba4ebe4057e2de869a37 (patch)
tree79ba08f51b19692c0e95ba2690fce1e227b40e1a /lib/_ak_ipfs
parent9c700e09321c24528ecd02455dcc6748b485c3af (diff)
downloadarching-kaos-tools-6741ef52b72a164fcbc9ba4ebe4057e2de869a37.tar.gz
arching-kaos-tools-6741ef52b72a164fcbc9ba4ebe4057e2de869a37.tar.bz2
arching-kaos-tools-6741ef52b72a164fcbc9ba4ebe4057e2de869a37.zip
Typos
Diffstat (limited to 'lib/_ak_ipfs')
-rwxr-xr-xlib/_ak_ipfs6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/_ak_ipfs b/lib/_ak_ipfs
index eb0e2ff..673dafb 100755
--- a/lib/_ak_ipfs
+++ b/lib/_ak_ipfs
@@ -66,7 +66,7 @@ _ak_ipfs_scanner(){
_ak_ipfs_add(){
if [ -z $1 ] || [ ! -n "$1" ]
then
- logit "error" "no argument given"
+ logit "ERROR" "no argument given"
exit 1
fi
# Receives a file
@@ -82,7 +82,7 @@ _ak_ipfs_add(){
_ak_ipfs_block_stat(){
if [ -z $1 ] || [ ! -n "$1" ]
then
- logit "error" "no argument given"
+ logit "ERROR" "no argument given"
exit 1
fi
_ak_ipfs block stat "$1"
@@ -96,7 +96,7 @@ _ak_ipfs_block_stat(){
_ak_ipfs_cat(){
if [ -z $1 ] || [ ! -n "$1" ]
then
- logit "error" "no argument given"
+ logit "ERROR" "no argument given"
exit 1
fi
_ak_ipfs --timeout=10s cat $1