When dup2'ing the NULL_FILE to the stdin/out/err fds, if the fd_null descriptor is > 2, we should close the fd_null descriptor itself, not the fd variable which will be out of range for the entities in question due to the for loop. This fixes the VERY ANNOYING #690, since I've hit that problem before, and this time really figured it out.
When dup2'ing the NULL_FILE to the stdin/out/err fds, if the fd_null
descriptor is > 2, we should close the fd_null descriptor itself, not
the fd variable which will be out of range for the entities in
question due to the for loop. This fixes the VERY ANNOYING #690, since
I've hit that problem before, and this time really figured it out.

htcondor/htcondor,zhangzhehust/htcondor,htcondor/htcondor,djw8605/condor,htcondor/htcondor,djw8605/htcondor,zhangzhehust/htcondor,zhangzhehust/htcondor,mambelli/osg-bosco-marco,zhangzhehust/htcondor,djw8605/htcondor,djw8605/condor,htcondor/htcondor,clalancette/condor-dcloud,neurodebian/htcondor,zhangzhehust/htcondor,mambelli/osg-bosco-marco,htcondor/htcondor,zhangzhehust/htcondor,neurodebian/htcondor,neurodebian/htcondor,clalancette/condor-dcloud,djw8605/htcondor,bbockelm/condor-network-accounting,djw8605/htcondor,djw8605/condor,mambelli/osg-bosco-marco,mambelli/osg-bosco-marco,bbockelm/condor-network-accounting,bbockelm/condor-network-accounting,bbockelm/condor-network-accounting,htcondor/htcondor,mambelli/osg-bosco-marco,neurodebian/htcondor,djw8605/condor,neurodebian/htcondor,neurodebian/htcondor,djw8605/htcondor,djw8605/htcondor,clalancette/condor-dcloud,neurodebian/htcondor,mambelli/osg-bosco-marco,zhangzhehust/htcondor,djw8605/htcondor,bbockelm/condor-network-accounting,bbockelm/condor-network-accounting,zhangzhehust/htcondor,htcondor/htcondor,zhangzhehust/htcondor,htcondor/htcondor,clalancette/condor-dcloud,djw8605/htcondor,djw8605/condor,djw8605/condor,mambelli/osg-bosco-marco,neurodebian/htcondor,bbockelm/condor-network-accounting,djw8605/condor,djw8605/htcondor,clalancette/condor-dcloud,clalancette/condor-dcloud,bbockelm/condor-network-accounting,mambelli/osg-bosco-marco,djw8605/condor,neurodebian/htcondor,clalancette/condor-dcloud