On 6/21/11 1:08 AM, Linus Nielsen Feltzing wrote: > On 06/19/2011 10:38 PM, Philip Prindeville wrote: >> I never like the idea of throwing stderr away blindly. If there's a >> particular message that you know you can safely ignore, I would grep >> it out. There's a trick for grepping on stderr and keeping it >> separate from stdout... Let's see if I can find the link... > > In my patch, only stdout is thrown away. I can't see how it makes things > any worse though, since there are no stdio descriptors open at all in > hotplug scripts, so stderr will be discarded anyway. > > I guess the real problem is that the chat code seems to expect an open > stdout descriptor, and hangs when it can't write to it. My patch "fixes" > that by redirecting stdout, thereby giving it a file descriptor to write to. > > Linus
Ok, that's fine then. _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
