aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/src/meshbay_node/cli
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/cli')
-rw-r--r--packages/meshbay-node/src/meshbay_node/cli/status.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/cli/status.py b/packages/meshbay-node/src/meshbay_node/cli/status.py
index 162bd46..ebc6c77 100644
--- a/packages/meshbay-node/src/meshbay_node/cli/status.py
+++ b/packages/meshbay-node/src/meshbay_node/cli/status.py
@@ -34,7 +34,8 @@ def status(args) -> None:
live = None
if live:
- print(f"daemon running — {live.get('status')}")
+ state = live.get("status")
+ print("daemon running" + (f" — {state}" if state and state != "running" else ""))
print(f"node_id {live.get('endpoint_hint') or '—'}")
print(f"groups {live.get('group_count', 0)}"
f" files {live.get('total_files', 0)}"