On 28/09/12 12:30 -0500, Steve Linabery wrote:
addresses https://bugzilla.redhat.com/show_bug.cgi?id=860780

These three scripts were sometime producing confusing output. We were invoking
`service foo stop` for example which often outputs the string '[FAILED]' even
though the process exits with status 0. So our script would output something
thoroughly confusing like 'Success: [FAILED]'.

Better to discard the output of `service foo {action}` in the case when the
subprocess exits 0. We will still output what we get from STDOUT when the
subprocess exits non-zero.
---
ACK, this all looks reasonable enough. I'll push it to master for you
momentarily.

-j

Reply via email to