diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-05 10:58:23 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-05 10:58:23 +0100 |
commit | 1f8b79347187ab0933b595ded32b69217903037c (patch) | |
tree | d7beb050e3a7828ce258c7874e839c63f1a2dd96 | |
parent | 517378721855280d2e23d25d7529e6b9cbae9136 (diff) | |
download | apk-tools-1f8b79347187ab0933b595ded32b69217903037c.tar.gz apk-tools-1f8b79347187ab0933b595ded32b69217903037c.tar.bz2 apk-tools-1f8b79347187ab0933b595ded32b69217903037c.tar.xz apk-tools-1f8b79347187ab0933b595ded32b69217903037c.zip |
print: flush on apk_log
Makes it more useful whith pipes.
-rw-r--r-- | src/print.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c index aafe2ef..d8b0f3f 100644 --- a/src/print.c +++ b/src/print.c @@ -149,6 +149,7 @@ void apk_log(const char *prefix, const char *format, ...) vfprintf(stdout, format, va); va_end(va); fprintf(stdout, "\n"); + fflush(stdout); apk_progress_force = 1; } |