feat(execution): set $? var

This commit is contained in:
william.valenduc 2026-01-22 13:10:23 +00:00
parent f20a02ddab
commit 6dd19a75ad
6 changed files with 42 additions and 5 deletions

View file

@ -216,6 +216,7 @@ int execution(struct ast *ast, struct hash_map *vars)
switch (ast->type)
{
case AST_VOID:
case AST_END: {
return 0;
}