Bug 3422 - colorification of the "[OK]" only if output is a tty
colorification of the "[OK]" only if output is a tty
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
6.0
All Linux
low Severity low
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-06-12 14:36 EDT by piercarl
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-06-17 17:38:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description piercarl 1999-06-12 14:36:49 EDT
Scripts in "/etc/rc.d/init.d" that use the 'daemon' function
may be executed in cron jobs or other offline scripts.

Unfortunately the "[OK]" style messages are _always_ wrapped
in colorification escape sequences, even if the output is
not a tty. There should be a check for tty output.
Comment 1 Jay Turner 1999-06-14 13:52:59 EDT
This has been forwarded to a developer for further action.
Comment 2 Bill Nottingham 1999-06-17 17:38:59 EDT
fixed in initscripts-4.22, available in next rawhide...

Note You need to log in before you can comment on or make changes to this bug.