mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
node_stop can be called if node is STARTED or CONNECTED
This commit is contained in:
parent
836adee4d6
commit
1bdd0a9e34
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue