From 1bdd0a9e3455c2d0197fc0d45d77ace5551af7ac Mon Sep 17 00:00:00 2001 From: Dennis Potter Date: Sat, 7 Jul 2018 15:24:48 +0200 Subject: [PATCH] node_stop can be called if node is STARTED or CONNECTED --- lib/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node.c b/lib/node.c index 5580bc399..c7d93b84b 100644 --- a/lib/node.c +++ b/lib/node.c @@ -351,7 +351,7 @@ int node_stop(struct node *n) { int ret; - if (n->state != STATE_STARTED) + if (n->state != STATE_STARTED && n->state != STATE_CONNECTED) return 0; info("Stopping node %s", node_name(n));