From: Bastien N. <ha...@ha...> - 2008-08-17 21:08:49
|
On Fri, 2008-08-15 at 14:27 +0200, Christoph Bartelmus wrote: > Hi! > > Bastien Nocera "ha...@ha..." wrote: > [...] > > I have a use case where lircd exiting when a device isn't available is a > > right pain. > [...] > > The attached patch seems to be enough to avoid lircd exiting, which > > means that it stays running in the background whenever a device is > > setup. > > Why do you reject the connection anyway? Wouldn't the application show an > error as well? I don't quite understand. lircd exits because the connection is rejected. The connection is rejected because there's no backing device. Ie. the receiver isn't plugged in. > Would it help if lircd does not close the device once it has been opened? Not really, there's no device when we start up the application. |