aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ipfs-name-publish
blob: 60169ed3eaa43e29da7c6e7e63f2c46daea3f730 (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