summaryrefslogtreecommitdiffstats
path: root/src/e_builtins.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/e_builtins.c')
-rw-r--r--src/e_builtins.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/e_builtins.c b/src/e_builtins.c
index bc14ced..123aff3 100644
--- a/src/e_builtins.c
+++ b/src/e_builtins.c
@@ -89,6 +89,10 @@ static void e_builtin_parent(pid_t pid,
}
}
+/*
+** TODO: handle fork() failed
+*/
+
void e_builtin(const t_com *ptr, uint8_t bu_id, t_msh *msh)
{
pid_t pid;
@@ -99,9 +103,6 @@ void e_builtin(const t_com *ptr, uint8_t bu_id, t_msh *msh)
}
else if (pid < 0)
{
- /*
- ** TODO: handle fork() failed
- */
}
else
{