OrioPrisco / minishell

GNU General Public License v2.0
0 stars 1 forks source link

builtins_chk_sel return on open error not propigating correctly #147

Closed Drewski6 closed 1 year ago

Drewski6 commented 1 year ago

in builtin_chk_sel.c -> prefork_redirects -> line 57 This return has a logical operation as a return "ret == 1" this means that when the return from open is -1 we return 0 and the previous return is not set properly