coverity: remove logically dead code

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
Serge Hallyn 2013-12-13 16:15:10 -06:00
parent a611bce104
commit af415076b6

View File

@ -708,8 +708,6 @@ error:
free(fp); free(fp);
} }
if (child_end != -1)
close(child_end);
if (parent_end != -1) if (parent_end != -1)
close(parent_end); close(parent_end);