Red Hat Bugzilla – Bug 119553
if grep matches the result will be echoed
Last modified: 2007-11-30 17:10:39 EST
Description of problem:
The postinstall script does the following:
if grep "Red Hat" /etc/redhat-release; then ....
which results in the matching string being echoed to the terminal. I
dont think it is desireable for output to appear in the middle of
up2date or a rpm transaction :) Trivial fix would probably be to
redirect stdout and stderr output to /dev/null or something like this:
if grep "Red Hat" /etc/redhat-release > /dev/null 2>&1; then ...
Version-Release number of selected component (if applicable):
That would work too :)
fixed in 0.95-3.