feat(execution): set $? var
This commit is contained in:
parent
f20a02ddab
commit
6dd19a75ad
6 changed files with 42 additions and 5 deletions
|
|
@ -216,6 +216,7 @@ int execution(struct ast *ast, struct hash_map *vars)
|
|||
|
||||
switch (ast->type)
|
||||
{
|
||||
case AST_VOID:
|
||||
case AST_END: {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue