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