aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-enter
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-04-02 19:25:12 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-04-02 19:25:12 +0300
commita4e83a94b06110ac3a2b82c1061d0073e359eda8 (patch)
tree8068366fed96dbf5677d7ffdc87bffbf966e5f73 /bin/ak-enter
parent1e779e30ef68bbc07fa7a205403d585868dc6b35 (diff)
downloadarching-kaos-tools-a4e83a94b06110ac3a2b82c1061d0073e359eda8.tar.gz
arching-kaos-tools-a4e83a94b06110ac3a2b82c1061d0073e359eda8.tar.bz2
arching-kaos-tools-a4e83a94b06110ac3a2b82c1061d0073e359eda8.zip
Eliminated json_pp usage
Diffstat (limited to 'bin/ak-enter')
-rwxr-xr-xbin/ak-enter2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-enter b/bin/ak-enter
index c47a827..0f3b17c 100755
--- a/bin/ak-enter
+++ b/bin/ak-enter
@@ -114,7 +114,7 @@ do
logit "[INFO]" "ZBLOCK $zblock READ"
# If it's JSON formated
- ipfs --timeout=10s cat $zblock | json_pp > /dev/null 2>&1
+ ipfs --timeout=10s cat $zblock | jq -M > /dev/null 2>&1
if [ "$?" -ne 0 ]
then
logit "[ERROR]" "ZBLOCK $zblock is not JSON"