Thomas-Chqt / minishell

bash-like shell
MIT License
1 stars 0 forks source link

Error when PATH not found #92

Closed jizots closed 1 year ago

jizots commented 1 year ago

when PATH not found

Thomas-Chqt commented 1 year ago

this is because when using unset PATH PATH is removed from the list so when you do get_env("PATH", NULL); is return NULL