aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ipfs-get
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-01 19:26:24 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-01 19:26:24 +0200
commitf8d2236e55e5c369b218017d1de1058d6a8ee361 (patch)
tree1cdd4ea1476c3062d3dd38ee1ba62d6bb98eb680 /bin/ak-ipfs-get
parent7affa2082f61455a413d0c8fea08e79935d4f308 (diff)
downloadarching-kaos-tools-f8d2236e55e5c369b218017d1de1058d6a8ee361.tar.gz
arching-kaos-tools-f8d2236e55e5c369b218017d1de1058d6a8ee361.tar.bz2
arching-kaos-tools-f8d2236e55e5c369b218017d1de1058d6a8ee361.zip
Log formatting adjustment
Diffstat (limited to 'bin/ak-ipfs-get')
-rwxr-xr-xbin/ak-ipfs-get4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-ipfs-get b/bin/ak-ipfs-get
index ef8ba94..dedf503 100755
--- a/bin/ak-ipfs-get
+++ b/bin/ak-ipfs-get
@@ -1,8 +1,8 @@
#!/bin/bash
PROGRAM="$(basename $0)"
-ipfs --timeout=10s get "$1"
+ipfs --timeout=10s get "$1" > /dev/null 2>&1
if [ "$?" != "0" ]
then
- ak-logthis "<$PROGRAM>" "[ERROR]" "Failed to get $1"
+ ak-logthis "$PROGRAM" "ERROR" "Failed to get $1"
exit 1
fi