summaryrefslogtreecommitdiffstats
path: root/src/b_alias.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-12 16:33:02 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-12 16:33:02 +0200
commit949f93b57b6411b07eb12110e0db37cdf393db0c (patch)
treece90ac0b84cbdab7c3ea2c47c8397310045db386 /src/b_alias.c
parentFix (diff)
download42-minishell-949f93b57b6411b07eb12110e0db37cdf393db0c.tar.gz
42-minishell-949f93b57b6411b07eb12110e0db37cdf393db0c.tar.bz2
42-minishell-949f93b57b6411b07eb12110e0db37cdf393db0c.tar.xz
42-minishell-949f93b57b6411b07eb12110e0db37cdf393db0c.tar.zst
42-minishell-949f93b57b6411b07eb12110e0db37cdf393db0c.zip
Fuck
Diffstat (limited to 'src/b_alias.c')
-rw-r--r--src/b_alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/b_alias.c b/src/b_alias.c
index 8aff531..08298b3 100644
--- a/src/b_alias.c
+++ b/src/b_alias.c
@@ -50,7 +50,7 @@ static uint8_t
}
if (*ptr == C_NUL)
{
- if (u_get_alias_value(val, arg, ARG_MAX, msh) == 0)
+ if (u_get_alias_value(val, arg, ARG_MAX, msh) != 0)
{
ft_printf("alias %s='%s'", arg, val);
return (0);