aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ipfs-files-ls
blob: 80fc89922b2691ff9e637c6863fbfcbd98aea947 (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