diff options
Diffstat (limited to 'bin/ak-ipfs-cat')
-rwxr-xr-x | bin/ak-ipfs-cat | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ak-ipfs-cat b/bin/ak-ipfs-cat index b9bd7ec..d2415e4 100755 --- a/bin/ak-ipfs-cat +++ b/bin/ak-ipfs-cat @@ -1,7 +1,9 @@ #!/bin/bash +PROGRAM="$(basename $0)" ipfs --timeout=10s cat $1 if [ "$?" -ne "0" ] then + ak-logthis "<$PROGRAM>" "[ERROR]" "Failed to cat $1" exit 1 fi |