aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_ipfs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_ak_ipfs')
-rwxr-xr-xlib/_ak_ipfs2
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