summaryrefslogtreecommitdiffstats
path: root/src/b_alias.c
diff options
context:
space:
mode:
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);