diff options
Diffstat (limited to '')
-rw-r--r-- | src/b_cd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ static void if (!ft_strncmp("~/", *path, 2) || !ft_strncmp("~", *path, 2)) { if (!(*path = ft_strsubst(*path, - "~", subst_var_value("$HOME", msh)))) + "~", get_var_value("$HOME", msh)))) { s_destroy(msh); fail_alloc(msh); @@ -55,7 +55,7 @@ uint8_t } else if (argc == 0) { - if (!(path = subst_var_value("$HOME", msh))) + if (!(path = get_var_value("$HOME", msh))) return (1); } else |