Date: Mon, 16 Aug 2021 15:14:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257886 Bug ID: 257886 Summary: ls: don't check color env variables if compiled with WITHOUT_LS_COLORS="YES" Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: firstname.lastname@example.org Created attachment 227246 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227246&action=edit patch Hi, if I compile with WITHOUT_LS_COLORS="YES", and if I have COLORTERM variable set, ls will complain each time: ls: color support not compiled in There is no way to suppres the message, it is printed every time. If ls is compiled with no color support, it shouldn't even check for color env variables. The attached patch fixes that. Regards, Marko -- You are receiving this mail because: You are the assignee for the bug.