"Without this patch, udhcpcd output may be buffered and delayed for for minutes if stdout is not a tty." -vda@
No binary (build failed)
—
(log yok)
| @@ -46,6 +46,7 @@ void udhcp_logging(int level, const char *fmt, ...) | |
| if(!daemonized) { | |
| vprintf(fmt, p); | |
| putchar('\n'); | |
| + | fflush(stdout); |
| errno = e; | |
| } | |
| vsyslog(level, fmt, p2); | |
| @@ -81,6 +82,7 @@ void udhcp_logging(int level, const char *fmt, ...) | |
| errno = e; | |
| vprintf(fmt, p); | |
| putchar('\n'); | |
| + | fflush(stdout); |
| } | |
| va_end(p); | |
| } | |