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 4e7f846..71bdb93 100755
--- a/lib/_ak_ipfs
+++ b/lib/_ak_ipfs
@@ -225,7 +225,7 @@ _ak_ipns_resolve(){
if [ ! -z $1 ]
then
rsld=$(ak-ipfs-name-resolve $1)
- if [ "$?" != 0 ]
+ if [ $? -ne 0 ]
then
logit "ERROR" "Failed to resolve $1"
exit 1