From 4d3f83f631e5513fbdec16f056dc8a7d48871479 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 21 Jan 2023 08:10:16 +0200 Subject: More verbose log output --- bin/ak-data-expand | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/ak-data-expand b/bin/ak-data-expand index e0cf828..07e4d7d 100755 --- a/bin/ak-data-expand +++ b/bin/ak-data-expand @@ -69,7 +69,7 @@ then ipfs --timeout=10s get $DETACH > /dev/null 2>&1 if [ "$?" -ne 0 ] then - logit "[ERROR]" "Error while getting $DETACH for $DATA" + logit "[ERROR]" "Error while getting signature: $DETACH for data: $DATA" exit 1 fi mv $DETACH $DATA.asc @@ -77,10 +77,10 @@ then ipfs --timeout=10s get $DATA > /dev/null 2>&1 if [ "$?" -ne 0 ] then - logit "[ERROR]" "Error while getting $DATA" + logit "[ERROR]" "Error while getting data: $DATA" exit 1 fi - logit "[INFO]" "Block downloaded" + logit "[INFO]" "Data downloaded: $DATA" gpg2 --verify $DATA.asc $DATA > /dev/null 2>&1 if [ "$?" -ne 0 ] then -- cgit v1.2.3