summaryrefslogtreecommitdiffstats
path: root/src/ft_b_env.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_b_env.c')
-rw-r--r--src/ft_b_env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_b_env.c b/src/ft_b_env.c
index 2ac4000..c602c13 100644
--- a/src/ft_b_env.c
+++ b/src/ft_b_env.c
@@ -21,7 +21,7 @@ uint8_t
{
char **ptr;
- if (args[0])
+ if (args && args[0])
{
ft_fail_no_options("env");
return (127);