From c7ea01304f1e2284a695c6dd7210365f95a8c8ba Mon Sep 17 00:00:00 2001 From: Piotr Oleskiewicz Date: Mon, 28 Jan 2019 15:50:47 +0000 Subject: [PATCH] mu-config: put environmental variable in inverted commas --- mu/mu-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu/mu-config.c b/mu/mu-config.c index c9fc9a47..0ee2d352 100644 --- a/mu/mu-config.c +++ b/mu/mu-config.c @@ -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)))