summaryrefslogtreecommitdiffstats
path: root/src/b_cd.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-17 19:49:35 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-17 19:49:35 +0200
commit990143a3f21f5500abc329c7df4ef30d20cb71eb (patch)
tree4039744d012594f1923508bcb8f8c57c270e4172 /src/b_cd.c
parentIn progress (diff)
download42-minishell-990143a3f21f5500abc329c7df4ef30d20cb71eb.tar.gz
42-minishell-990143a3f21f5500abc329c7df4ef30d20cb71eb.tar.bz2
42-minishell-990143a3f21f5500abc329c7df4ef30d20cb71eb.tar.xz
42-minishell-990143a3f21f5500abc329c7df4ef30d20cb71eb.tar.zst
42-minishell-990143a3f21f5500abc329c7df4ef30d20cb71eb.zip
.minishellrc working
Diffstat (limited to 'src/b_cd.c')
-rw-r--r--src/b_cd.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}