summaryrefslogtreecommitdiffstats
path: root/src/u_alias.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-11 19:32:47 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-11 19:32:47 +0200
commitbe1403ef70e51442df459b1ef89f547cbc9af4ca (patch)
treeb1efa1acba6cde5cf691ef0bea7fecf7fe6a8ab1 /src/u_alias.c
parentIn progress (diff)
download42-minishell-be1403ef70e51442df459b1ef89f547cbc9af4ca.tar.gz
42-minishell-be1403ef70e51442df459b1ef89f547cbc9af4ca.tar.bz2
42-minishell-be1403ef70e51442df459b1ef89f547cbc9af4ca.tar.xz
42-minishell-be1403ef70e51442df459b1ef89f547cbc9af4ca.tar.zst
42-minishell-be1403ef70e51442df459b1ef89f547cbc9af4ca.zip
This shit is killing me
Diffstat (limited to '')
-rw-r--r--src/u_alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/u_alias.c b/src/u_alias.c
index f273a5c..92bd498 100644
--- a/src/u_alias.c
+++ b/src/u_alias.c
@@ -48,7 +48,7 @@ void
{
t_lalias *new;
- if (u_get_alias_value(NULL, name, 0, msh) != 0)
+ if (u_get_alias_value(NULL, name, 0, msh) == 0)
{
s_lalias_rebind(&msh->alias, name, value);
}