Fix last change

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14005 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-07-02 14:32:02 +00:00
parent 20d4059a05
commit 70c11f66f6

View file

@ -4466,20 +4466,6 @@ printf(
}
}
if (pidfile)
{
FILE *fptr = fopen(pidfile, "at");
if (fptr == 0)
{
sprintf(ebuf, "Unable to open pid file - '%s'", pidfile);
gdomap_log(LOG_CRIT);
exit(1);
}
fprintf(fptr, "%d\n", (int) getpid());
fclose(fptr);
}
/*
* Ensure we don't have any open file descriptors which may refer
* to sockets bound to ports we may try to use.