From 0ae7d319f8138e6544fab3f0ccf2c156ba044234 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 11 Feb 2022 10:17:15 +0200 Subject: Fixed escaping and the forgotten grep in pipes --- bin/ipfs-check | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/ipfs-check') diff --git a/bin/ipfs-check b/bin/ipfs-check index de1b133..1ecf8a3 100755 --- a/bin/ipfs-check +++ b/bin/ipfs-check @@ -1,6 +1,6 @@ #!/bin/bash logit(){ - logthis "ipfs-check" $1 + logthis "ipfs-check" "$1" } @@ -10,8 +10,8 @@ if [ $? != 0 ]; then logit "/zarchive is missing" ; fi ipfs files ls /zlatest if [ $? != 0 ]; then logit "/zlatest is missing" ; fi -ipfs key list | zchain +ipfs key list | grep zchain if [ $? != 0 ]; then logit "zchain key is missing" ; fi -ipfs key list | ak-config +ipfs key list | grep ak-config if [ $? != 0 ]; then logit "ak-config key is missing" ; fi -- cgit v1.2.3