mu-config: put environmental variable in inverted commas

This commit is contained in:
Piotr Oleskiewicz 2019-01-28 15:50:47 +00:00
parent 8ffce6b2bc
commit c7ea01304f
No known key found for this signature in database
GPG Key ID: F8764731F47D879F
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ set_group_mu_defaults (void)
/* check for the MU_NOCOLOR or NO_COLOR env vars; but in any case don't
* use colors unless we're writing to a tty */
if (g_getenv (MU_NOCOLOR) != NULL || g_getenv (NO_COLOR) != NULL)
if (g_getenv (MU_NOCOLOR) != NULL || g_getenv ("NO_COLOR") != NULL)
MU_CONFIG.nocolor = TRUE;
if (!isatty(fileno(stdout)) || !isatty(fileno(stderr)))