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