diff options
-rw-r--r-- | src/rc/rc-logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-logger.c b/src/rc/rc-logger.c index 2b0c6be6..22d7c725 100644 --- a/src/rc/rc-logger.c +++ b/src/rc/rc-logger.c @@ -280,7 +280,7 @@ rc_logger_open(const char *level) * logfile or its basedir may be read-only during shutdown so skip * the error in this case */ - if (strcmp(level, "shutdown") != 0) { + if (strcmp(level, RC_LEVEL_SHUTDOWN) != 0) { log_error = 1; eerror("Error: fopen(%s) failed: %s", logfile, strerror(errno)); } |