summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 91a1bd741..2f06a70b2 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -51,7 +51,7 @@ repoman_settings = portage.config(local_config=False,
config_incrementals=portage_const.INCREMENTALS)
repoman_settings.lock()
-if repoman_settings.get("NOCOLOR", "").upper() in ("yes", "true") or \
+if repoman_settings.get("NOCOLOR", "").lower() in ("yes", "true") or \
not sys.stdout.isatty():
nocolor()