diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-01 19:26:24 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-01 19:26:24 +0200 |
commit | f8d2236e55e5c369b218017d1de1058d6a8ee361 (patch) | |
tree | 1cdd4ea1476c3062d3dd38ee1ba62d6bb98eb680 /bin/ak-ipns-resolve | |
parent | 7affa2082f61455a413d0c8fea08e79935d4f308 (diff) | |
download | arching-kaos-tools-f8d2236e55e5c369b218017d1de1058d6a8ee361.tar.gz arching-kaos-tools-f8d2236e55e5c369b218017d1de1058d6a8ee361.tar.bz2 arching-kaos-tools-f8d2236e55e5c369b218017d1de1058d6a8ee361.zip |
Log formatting adjustment
Diffstat (limited to 'bin/ak-ipns-resolve')
-rwxr-xr-x | bin/ak-ipns-resolve | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ak-ipns-resolve b/bin/ak-ipns-resolve index e93218e..c01e822 100755 --- a/bin/ak-ipns-resolve +++ b/bin/ak-ipns-resolve @@ -9,18 +9,18 @@ usage(){ echo "Returns the resolved IPFS CIDv0" } logit(){ - ak-logthis "<$PROGRAM>" "$1" "$2" + ak-logthis "$PROGRAM" "$1" "$2" } if [ ! -z $1 ] then rsld=$(ak-ipfs-name-resolve $1) if [ "$?" != 0 ] then - logit "[ERROR]" "Failed to resolve $1" + logit "ERROR" "Failed to resolve $1" exit 1 fi echo -n $rsld | sed -e 's/\/ipfs\///' - logit "[INFO]" "Resolved $1 to $rsld" + logit "INFO" "Resolved $1 to $rsld" else usage fi |