fix(execution): ast_void does not affect return value => if statements now work

This commit is contained in:
matteo 2026-01-24 14:52:37 +01:00
parent 6be3dde607
commit da948f58fe

View file

@ -245,6 +245,7 @@ int execution(struct ast *ast, struct hash_map *vars)
while (cur)
{
struct ast *child = (struct ast *)cur->data;
if (!ast_is_void(child))
ret = execution(child, vars);
cur = cur->next;
}