aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-25 12:07:30 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-25 12:07:30 +0300
commit02c4bacacb60509fbf9975977cb4202649de601b (patch)
treeae4679d46967fbfe12180a7f865df863b00392d4 /lib
parentb6ae44244ecc4dd0f2d4d9a8e5efe883aab97cca (diff)
downloadarching-kaos-tools-02c4bacacb60509fbf9975977cb4202649de601b.tar.gz
arching-kaos-tools-02c4bacacb60509fbf9975977cb4202649de601b.tar.bz2
arching-kaos-tools-02c4bacacb60509fbf9975977cb4202649de601b.zip
cleanup
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