[Pcsclite-cvs-commit] r2327 - trunk/PCSC/src

Ludovic Rousseau rousseau at alioth.debian.org
Wed Jan 10 21:48:29 CET 2007


Author: rousseau
Date: 2007-01-10 21:48:29 +0100 (Wed, 10 Jan 2007)
New Revision: 2327

Modified:
   trunk/PCSC/src/pcscdaemon.c
Log:
log "pcscd was not configured with --enable-runpid=FILE" if pcscd
--hotplug is called but can't be used because no pidfile is available.

Thanks to Alon Bar-Lev for the idea.


Modified: trunk/PCSC/src/pcscdaemon.c
===================================================================
--- trunk/PCSC/src/pcscdaemon.c	2007-01-10 15:50:51 UTC (rev 2326)
+++ trunk/PCSC/src/pcscdaemon.c	2007-01-10 20:48:29 UTC (rev 2327)
@@ -393,6 +393,9 @@
 			{
 #ifdef USE_RUN_PID
 				Log1(PCSC_LOG_CRITICAL, "file " USE_RUN_PID " do not exist");
+#else
+				Log1(PCSC_LOG_CRITICAL,
+					"pcscd was not configured with --enable-runpid=FILE");
 #endif
 				Log1(PCSC_LOG_CRITICAL, "Hotplug failed");
 				return EXIT_FAILURE;




More information about the Pcsclite-cvs-commit mailing list