diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-11-22 19:17:23 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-11-22 19:17:23 -0500 |
commit | 385a3a31aff98cf339c3d3ca0f7c6315306e92db (patch) | |
tree | c4656f61c3de4682b8ad6feb253725a000741560 /etc/inc | |
parent | fdf3af3f59c358dd07aba192f7605fc612c0f976 (diff) | |
download | pfsense-385a3a31aff98cf339c3d3ca0f7c6315306e92db.zip pfsense-385a3a31aff98cf339c3d3ca0f7c6315306e92db.tar.gz |
Return color code, not echo
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index 33a93bd..315f273 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -1074,7 +1074,7 @@ function color($color = "0m") { $TERM=`/usr/bin/env | grep color`; $ESCAPE=chr(27); if($TERM) - echo "{$ESCAPE}[{$color}"; + return "{$ESCAPE}[{$color}"; } ?>
\ No newline at end of file |