diff options
Diffstat (limited to 'src/diag.c')
-rw-r--r-- | src/diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -73,7 +73,7 @@ stderr_printer (LOGSTREAM *str, int prio, const char *fmt, va_list ap) static int stderr_open (int logf, LOGSTREAM *str) { - if (logf & DIAG_REOPEN_LOG) + if (PIES_SYSVINIT_ENABLED && (logf & DIAG_REOPEN_LOG)) { int fd = console_open (O_WRONLY|O_NOCTTY|O_NDELAY); if (fd == -1) |