diff options
-rwxr-xr-x | lib/_ak_network | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/_ak_network b/lib/_ak_network index b3530b3..4ca58f8 100755 --- a/lib/_ak_network +++ b/lib/_ak_network @@ -378,11 +378,21 @@ _ak_network_show_peers_stellar(){ } _ak_network_show_peers_cjdns(){ - cat $AK_ZPEERSFILE.hyperboria | jq + if [ -f $AK_ZPEERSFILE.hyperboria ] + then + cat $AK_ZPEERSFILE.hyperboria | jq + else + _ak_log_debug "No hyperboria peers found" + fi } _ak_network_show_peers_yggdrasil(){ - cat $AK_ZPEERSFILE.yggdrasil | jq + if [ -f $AK_ZPEERSFILE.yggdrasil ] + then + cat $AK_ZPEERSFILE.yggdrasil | jq + else + _ak_log_debug "No yggdrasil peers found" + fi } _ak_network_show_peers_ipfs(){ |