Hi, On Wed, Feb 16, 2011 at 12:52:59PM +0100, Michael Prokop wrote: > * Lars Ellenberg wrote: > > On Wed, Feb 16, 2011 at 12:45:48AM +0100, Michael Prokop wrote: > > >> agent's ocf-tester doesn't redirect error messages to stderr. > >> The attached patch addresses this issue. > > [...] > > > hm. > > how about > > [ x$1 = x0 ] || exec >&2 > > leave echo ... in place as is > > exit $1 > > Lovely idea, thanks. > > Refreshed patch at > http://grml.org/patches/ocf_tester_redir_to_stderr.patch > (sha1: 5bf74f1f14d56e3a1508cce1251f0f5830b910f3)
Patch applied. Out of curiosity, what prompted you to fix this? Cheers, Dejan > regards, > -mika- > -- > http://michael-prokop.at/ || http://adminzen.org/ > http://grml-solutions.com/ || http://grml.org/ > > _______________________________________________________ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/