change builtin not existing to not be fatal

This commit is contained in:
Chris Cromer 2021-06-27 13:32:33 -04:00
parent cae1aa3e55
commit abe1e7fa5e

View File

@ -46,8 +46,6 @@ void run_builtin(StringArray *args) {
} }
else { else {
fprintf(stderr, "Builtin %s does not exist!\n", args->array[0]); fprintf(stderr, "Builtin %s does not exist!\n", args->array[0]);
free_string_array(args);
exit(EXIT_FAILURE);
} }
} }