summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ctrl/fsm_ctrl_commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ctrl/fsm_ctrl_commands.c b/src/ctrl/fsm_ctrl_commands.c
index 0dfc3962..64324f2d 100644
--- a/src/ctrl/fsm_ctrl_commands.c
+++ b/src/ctrl/fsm_ctrl_commands.c
@@ -33,7 +33,8 @@ static int fsm_ctrl_node_lookup(void *data, vector vline, int *node_type,
goto err_missing;
*node_data = fsm;
*node_type = CTRL_NODE_FSM;
- }
+ } else
+ return 0;
break;
case CTRL_NODE_FSM:
fsm = *node_data;