diff options
Diffstat (limited to 'src/rc/rc-logger.c')
-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 47349893..e45c327d 100644 --- a/src/rc/rc-logger.c +++ b/src/rc/rc-logger.c @@ -172,7 +172,7 @@ rc_logger_open(const char *level) ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws); if (openpty(&rc_logger_tty, &slave_tty, NULL, &tt, &ws)) return; - } else + } else if (openpty(&rc_logger_tty, &slave_tty, NULL, NULL, NULL)) return; |