summaryrefslogtreecommitdiffstats
path: root/src/m_funptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/m_funptr.c')
-rw-r--r--src/m_funptr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/m_funptr.c b/src/m_funptr.c
index a6b31f2..1983e73 100644
--- a/src/m_funptr.c
+++ b/src/m_funptr.c
@@ -31,7 +31,8 @@ void
msh->bu_ptr[FT_ID_EXIT] = b_exit;
msh->bu_ptr[FT_ID_TYPE] = b_type;
msh->bu_ptr[FT_ID_SQB] = b_sqb;
- if (!(msh->bu_ref = ft_split(FT_BUILTINS, '|')))
+ msh->bu_ptr[FT_ID_ALIAS] = b_alias;
+ if ((msh->bu_ref = ft_split(FT_BUILTINS, '|')) == NULL)
{
f_alloc_and_destroy_msh(msh);
}