diff --git a/dev/SSCli.php b/dev/SSCli.php index f0db50a2d..3704e6f73 100644 --- a/dev/SSCli.php +++ b/dev/SSCli.php @@ -7,7 +7,7 @@ class SSCli extends Object { static function supports_colour() { if(!defined('STDOUT')) define('STDOUT', fopen("php://stdout","w")); - return posix_isatty(STDOUT); + return @posix_isatty(STDOUT); } /** @@ -52,4 +52,4 @@ class SSCli extends Object { } } -?> \ No newline at end of file +?>