diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-01-21 08:10:16 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-01-21 08:10:16 +0200 |
commit | 4d3f83f631e5513fbdec16f056dc8a7d48871479 (patch) | |
tree | 268e9489f5b7d5d21b17cf7fb9d3854ce4c2d89f /bin/ak-data-expand | |
parent | 308354f0ff654f9a1b4ecf99630f575f8149ca41 (diff) | |
download | arching-kaos-tools-4d3f83f631e5513fbdec16f056dc8a7d48871479.tar.gz arching-kaos-tools-4d3f83f631e5513fbdec16f056dc8a7d48871479.tar.bz2 arching-kaos-tools-4d3f83f631e5513fbdec16f056dc8a7d48871479.zip |
More verbose log output
Diffstat (limited to 'bin/ak-data-expand')
-rwxr-xr-x | bin/ak-data-expand | 6 |
1 files changed, 3 insertions, 3 deletions
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 |