Merge pull request #122 from thsm/development

No custom PID directory because USE_CUSTOM_LOCAL_STATE_DIR macro still used when it should have been USE_CUSTOM_PID_DIR.
This commit is contained in:
Mike Brady
2015-09-12 13:51:34 +01:00
+2 -2
View File
@@ -680,8 +680,8 @@ int main(int argc, char **argv) {
return 1;
}
#if USE_CUSTOM_LOCAL_STATE_DIR
debug(1, "Locating localstatedir at \"%s\"", LOCALSTATEDIR);
#if USE_CUSTOM_PID_DIR
debug(1, "Locating custom pid dir at \"%s\"", PIDDIR);
/* Point to a function to help locate where the PID file will go */
daemon_pid_file_proc = pid_file_proc;
#endif