diff --git a/src/lib/termivec.rs b/src/lib/termivec.rs
index 9810f786737..c487fcce76d 100644
--- a/src/lib/termivec.rs
+++ b/src/lib/termivec.rs
@@ -52,7 +52,7 @@ fn color_supported() -> bool {
     ret alt (generic_os::getenv("TERM")) {
           case (option::some(?env)) {
             for (str term in supported_terms) {
-                if (str::eq(term, env)) { true }
+                if (str::eq(term, env)) { ret true; }
             }
             false
           }