]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fixed the usage of the USE_CUSTOM_LOCAL_STATE_DIR macro, which prevented to set the... 122/head
authorthsm <thsm@openmailbox.org>
Fri, 11 Sep 2015 17:44:24 +0000 (19:44 +0200)
committerthsm <thsm@openmailbox.org>
Fri, 11 Sep 2015 17:44:24 +0000 (19:44 +0200)
shairport.c

index 8acd523b83a749dc2136ad989df97f598667f695..6a7e5ebdd46286bbeb2eab36dd2c93aefbd8c2f5 100644 (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