aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ipfs-swarm-peers
blob: b1890be35ece7b0bee6bcba851e124644efeac21 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
PROGRAM="$(basename $0)"
ipfs swarm peers
if [ "$?" != "0" ]
then
    ak-logthis "<$PROGRAM>" "[ERROR]" "Failed to get list of peers"
    exit 1
fi