From af2625c8ce64cd4ddd406b1d86c4b056d8f64ebb Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 17 Dec 2023 17:39:02 +0100 Subject: [PATCH] fix order Co-authored-by: Daniel Hofstetter --- src/uu/ls/src/ls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index 424ef8cc1..77f791342 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -570,7 +570,7 @@ fn is_color_compatible_term() -> bool { }) }; - if is_term_set && colorterm.is_empty() && is_colorterm_set && term.is_empty() { + if is_term_set && term.is_empty() && is_colorterm_set && colorterm.is_empty() { return false; }