is running as expected when the hardware is plugged back in (#440231)epel8
parent
6a6e021cff
commit
7208a572af
@ -0,0 +1,20 @@
|
||||
Index: daemons/lircd.c
|
||||
===================================================================
|
||||
RCS file: /cvsroot/lirc/lirc/daemons/lircd.c,v
|
||||
retrieving revision 5.77
|
||||
diff -u -p -u -p -r5.77 lircd.c
|
||||
--- daemons/lircd.c 9 May 2008 18:40:59 -0000 5.77
|
||||
+++ daemons/lircd.c 14 Aug 2008 08:56:50 -0000
|
||||
@@ -518,7 +518,11 @@ void add_client(int sock)
|
||||
shutdown(clis[0],2);
|
||||
close(clis[0]);
|
||||
clin=0;
|
||||
- dosigterm(SIGTERM);
|
||||
+ /* Don't exit here, otherwise lirc bails out,
|
||||
+ * and lircd exits, making it impossible to
|
||||
+ * connect to when we have a device actually
|
||||
+ * plugged in.
|
||||
+ dosigterm(SIGTERM); */
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue