[systemd-bugs] [Bug 67656] New: systemd-delta: Only colorize when on tty

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 2 01:20:31 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=67656

          Priority: medium
            Bug ID: 67656
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemd-delta: Only colorize when on tty
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: farbing at web.de
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Created attachment 83508
  --> https://bugs.freedesktop.org/attachment.cgi?id=83508&action=edit
Patch: only colorize output when on tty

Currently systemd-delta always puts highlighting escape codes in the output,
even if the output is redirected to a file.

Attached is a patch, which checks if the output is a tty and disables the
highlighting if this is not the case.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130802/e9df11e7/attachment.html>


More information about the systemd-bugs mailing list