diff --git a/validate/gst/validate/gst-validate-utils.c b/validate/gst/validate/gst-validate-utils.c index a6693512d4..6cf0bdd552 100644 --- a/validate/gst/validate/gst-validate-utils.c +++ b/validate/gst/validate/gst-validate-utils.c @@ -582,8 +582,7 @@ gst_validate_has_colored_output (void) #endif #ifdef G_OS_UNIX - if (!isatty (STDOUT_FILENO)) - return FALSE; + return isatty (STDOUT_FILENO); #elif defined(G_OS_WIN32) return FALSE; #endif