aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ipfs-block-stat
blob: b049a70072cb4cf64cbefa102cb7d03a6a479d1d (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
PROGRAM="$(basename $0)"
ipfs block stat "$1"
if [ "$?" != "0" ]
then
    ak-logthis "$PROGRAM" "ERROR" "Failed to retrieve stat of block $1"
    exit 1
fi