aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ipfs-files-ls
blob: 26a33132de96bdd4e5990bbe4d34031f0ccfc29b (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
PROGRAM="$(basename $0)"
ipfs files ls "$1"
if [ "$?" != "0" ]
then
    ak-logthis "<$PROGRAM>" "[ERROR]" "Failed to list $1"
    exit 1
fi