From 990143a3f21f5500abc329c7df4ef30d20cb71eb Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 17 Aug 2020 19:49:35 +0200 Subject: .minishellrc working --- src/b_cd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/b_cd.c') diff --git a/src/b_cd.c b/src/b_cd.c index d2b1042..d82ab9c 100644 --- a/src/b_cd.c +++ b/src/b_cd.c @@ -136,7 +136,7 @@ uint8_t { if ((path = u_get_var_value("$HOME", msh)) == NULL) { - ft_dprintf(STDERR_FILENO, "minishell: cd: HOME not set\n"); + ft_dprintf(STDERR_FILENO, "minishell: cd: %s\n", FT_FAIL_HOME_NOT_SET); return (2); } } -- cgit v1.2.3