summaryrefslogtreecommitdiff
path: root/src/libstddjb/doublefork.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/doublefork.c')
-rw-r--r--src/libstddjb/doublefork.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstddjb/doublefork.c b/src/libstddjb/doublefork.c
index d75a017..da512f8 100644
--- a/src/libstddjb/doublefork.c
+++ b/src/libstddjb/doublefork.c
@@ -18,10 +18,8 @@ pid_t doublefork ()
{
case -1:
{
- int e = errno ;
fd_close(fd[1]) ;
fd_close(fd[0]) ;
- errno = e ;
return -1 ;
}
case 0: