summaryrefslogtreecommitdiff
path: root/src/rc-logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc-logger.c')
-rw-r--r--src/rc-logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc-logger.c b/src/rc-logger.c
index c95b2c8..1cab322 100644
--- a/src/rc-logger.c
+++ b/src/rc-logger.c
@@ -150,7 +150,7 @@ void rc_logger_open (const char *level)
if (! isatty (STDOUT_FILENO))
return;
- if (! rc_env_bool ("RC_LOGGER"))
+ if (! rc_conf_yesno ("rc_logger"))
return;
if (pipe (signal_pipe) == -1)