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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user