Closed znichola closed 1 year ago
int exec_exit(char **args) { (void)args; // cleanup functions? idk really. // TODO: return the correct exit code, from the last run command exit(0); }
and !!!!
bash-3.2$ exit 123 exit ➜ minishell git:(builtin-connection) ✗ echo $? 123
but this doesn't fix the exit code from the last command being piped in, so re opening
fixed with recent changes