diff options
-rw-r--r-- | daemon/logind/logind.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/daemon/logind/logind.c b/daemon/logind/logind.c index 4e282617..c720624a 100644 --- a/daemon/logind/logind.c +++ b/daemon/logind/logind.c @@ -1749,10 +1749,12 @@ listen_cb(int lfd, short event, void *arg) // So we have to set blocking mode for client again here. if (g_nonblock) _enable_nonblock(fd); +#ifndef LOGIND_NO_INSCREEN // fast draw banner (don't use buffered i/o - this banner is not really important.) -#ifdef INSCREEN +# ifdef INSCREEN write(fd, INSCREEN, sizeof(INSCREEN)); -#endif +# endif // INSCREEN +#endif // !LOGIND_NO_INSCREEN if ((conn = malloc(sizeof(login_conn_ctx))) == NULL) { close(fd); |