Skip to content

Commit

Permalink
changed exit status to errno
Browse files Browse the repository at this point in the history
  • Loading branch information
thewisepeter committed Apr 28, 2023
1 parent c206eea commit f787950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_argv_funcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void exit_shell(char **argv, char *input, char *input_cpy)
free(input);
free(input_cpy);
cleanup(argv);
exit(2);
exit(errno);
}
}

Expand Down

0 comments on commit f787950

Please sign in to comment.