From: thsm Date: Fri, 11 Sep 2015 17:44:24 +0000 (+0200) Subject: Fixed the usage of the USE_CUSTOM_LOCAL_STATE_DIR macro, which prevented to set the... X-Git-Tag: 2.5.0.3~3^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F122%2Fhead;p=thirdparty%2Fshairport-sync.git Fixed the usage of the USE_CUSTOM_LOCAL_STATE_DIR macro, which prevented to set the daemon_pid_file_proc. --- diff --git a/shairport.c b/shairport.c index 8acd523b..6a7e5ebd 100644 --- a/shairport.c +++ b/shairport.c @@ -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