From d54384fef56237ea8a88efe0a4fcd7f558c66252 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 21 Apr 2020 22:15:20 +0200 Subject: Tryna export --- src/ft_b_env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_b_env.c') 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); -- cgit v1.2.3