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