From 30a2bc6cc950bcd460e5a3651ab869a732a0f50b Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 30 Jun 2024 07:01:15 +0300 Subject: Refactoring --- lib/_ak_ipfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/_ak_ipfs') 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 -- cgit v1.2.3