aboutsummaryrefslogtreecommitdiff
path: root/bin/ipfs-check
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.com>2022-02-11 10:17:15 +0200
committerkaotisk <kaotisk@arching-kaos.com>2022-02-11 10:17:15 +0200
commit0ae7d319f8138e6544fab3f0ccf2c156ba044234 (patch)
tree3cbf0d8a465c3ac9108724c999c0c74855fa1830 /bin/ipfs-check
parent5b6c322d0bb8a131aa947b135a731a3f88e50c2d (diff)
downloadarching-kaos-tools-0ae7d319f8138e6544fab3f0ccf2c156ba044234.tar.gz
arching-kaos-tools-0ae7d319f8138e6544fab3f0ccf2c156ba044234.tar.bz2
arching-kaos-tools-0ae7d319f8138e6544fab3f0ccf2c156ba044234.zip
Fixed escaping and the forgotten grep in pipes
Diffstat (limited to 'bin/ipfs-check')
-rwxr-xr-xbin/ipfs-check6
1 files changed, 3 insertions, 3 deletions
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