#!/bin/bash
ipfs --timeout=10s cat $1
if [ "$?" -ne "0" ]
then
    exit 1
fi