parent
7208a572af
commit
382ec19477
@ -1,20 +1,20 @@
|
|||||||
Index: daemons/lircd.c
|
--- daemons/lircd.c 2008/05/09 18:40:59 5.77
|
||||||
===================================================================
|
+++ daemons/lircd.c 2008/08/21 18:39:25 5.78
|
||||||
RCS file: /cvsroot/lirc/lirc/daemons/lircd.c,v
|
@@ -515,10 +515,13 @@
|
||||||
retrieving revision 5.77
|
{
|
||||||
diff -u -p -u -p -r5.77 lircd.c
|
if(!hw.init_func())
|
||||||
--- daemons/lircd.c 9 May 2008 18:40:59 -0000 5.77
|
{
|
||||||
+++ daemons/lircd.c 14 Aug 2008 08:56:50 -0000
|
- shutdown(clis[0],2);
|
||||||
@@ -518,7 +518,11 @@ void add_client(int sock)
|
- close(clis[0]);
|
||||||
shutdown(clis[0],2);
|
- clin=0;
|
||||||
close(clis[0]);
|
|
||||||
clin=0;
|
|
||||||
- dosigterm(SIGTERM);
|
- dosigterm(SIGTERM);
|
||||||
+ /* Don't exit here, otherwise lirc bails out,
|
+ logprintf(LOG_WARNING,
|
||||||
+ * and lircd exits, making it impossible to
|
+ "Failed to initialize hardware");
|
||||||
+ * connect to when we have a device actually
|
+ /* Don't exit here, otherwise lirc
|
||||||
+ * plugged in.
|
+ * bails out, and lircd exits, making
|
||||||
+ dosigterm(SIGTERM); */
|
+ * it impossible to connect to when we
|
||||||
|
+ * have a device actually plugged
|
||||||
|
+ * in. */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue