LucasKuhn / minishell_tester

Tester for the 🔥 minishell 🔥 project at École 42
128 stars 22 forks source link

Exit builtin not handling operators #24

Closed RPDJF closed 6 months ago

RPDJF commented 6 months ago

Exit builtin not handling operators

ruipa@NB-Ideapad:~/42-minishell [0]-❥ exit +100
exit
minishell: exit: +100: numeric argument required
ruipa@NB-Ideapad:~/42-minishell$ bash
ruipa@NB-Ideapad:~/42-minishell$ exit +100
exit
ruipa@NB-Ideapad:~/42-minishell$ echo $?
100
RPDJF commented 6 months ago

My bad, wrong repos !

LucasKuhn commented 6 months ago

No worries! Good luck with your project 🙏