You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lirc/lirc-dont-exit.patch

21 lines
498 B

--- daemons/lircd.c 2008/05/09 18:40:59 5.77
+++ daemons/lircd.c 2008/08/21 18:39:25 5.78
@@ -515,10 +515,13 @@
{
if(!hw.init_func())
{
- shutdown(clis[0],2);
- close(clis[0]);
- clin=0;
- dosigterm(SIGTERM);
+ logprintf(LOG_WARNING,
+ "Failed to initialize hardware");
+ /* 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. */
}
}
}