aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/_ak_zblock2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_ak_zblock b/lib/_ak_zblock
index 28d7c34..f853ef7 100755
--- a/lib/_ak_zblock
+++ b/lib/_ak_zblock
@@ -172,7 +172,7 @@ _ak_zblock_show(){
data="$(cat $AK_BLOCKDIR/$block | jq -M -r .data)"
_ak_ipfs_cid_v0_check "$data"
ak-data-expand $data $gpg
- if [ "$?" -ne 0 ]
+ if [ $? -ne 0 ]
then
_ak_log_error "Failed on data signature verification [data: $data, gpg: $gpg, zblock: $zblock]"
exit 1