diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-30 07:01:15 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-30 07:01:15 +0300 |
commit | 30a2bc6cc950bcd460e5a3651ab869a732a0f50b (patch) | |
tree | ff9abace41c2d356301f0fcd72211ee974c7efb9 /lib/_ak_ipfs | |
parent | 35ddac1871fbbc608417e1b1ec2012bf09687edd (diff) | |
download | arching-kaos-tools-30a2bc6cc950bcd460e5a3651ab869a732a0f50b.tar.gz arching-kaos-tools-30a2bc6cc950bcd460e5a3651ab869a732a0f50b.tar.bz2 arching-kaos-tools-30a2bc6cc950bcd460e5a3651ab869a732a0f50b.zip |
Refactoring
Diffstat (limited to 'lib/_ak_ipfs')
-rwxr-xr-x | lib/_ak_ipfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_ak_ipfs b/lib/_ak_ipfs index f7c2dac..3437083 100755 --- a/lib/_ak_ipfs +++ b/lib/_ak_ipfs @@ -407,7 +407,7 @@ _ak_ipfs_cid_v0_check () { exit 1 fi echo $1 | grep -e 'Qm.\{44\}' > /dev/null - if [ "$?" -ne 0 ] + if [ $? -ne 0 ] then _ak_log_error "$1 is not an IPFS CIDv0 string" exit 1 |