2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

The option for disabling the PID file is now pid-file none, not pid-file "none"

This commit is contained in:
Andreas Gustafsson
2001-10-16 20:04:41 +00:00
parent 64ea5fd972
commit 8d2b885018
4 changed files with 54 additions and 10 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: os.c,v 1.53 2001/10/13 20:13:53 halley Exp $ */
/* $Id: os.c,v 1.54 2001/10/16 20:04:38 gson Exp $ */
#include <config.h>
#include <stdarg.h>
@@ -479,8 +479,9 @@ ns_os_writepidfile(const char *filename) {
cleanup_pidfile();
if (strcmp(filename, "none") == 0)
if (filename == NULL)
return;
len = strlen(filename);
pidfile = malloc(len + 1);
if (pidfile == NULL) {