aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ipfs-get
diff options
context:
space:
mode:
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