APK prints warnings and errors to STDOUT not STDERR
Currently, apk prints warnings and errors to STDOUT rather than STDERR, which breaks scripts taking their input from the output of an apk command, especially when a non-fatal warning is printed. Shiz has provided a patch to correct the issue, attached.
(from redmine: issue id 7107, created on 2017-04-10, closed on 2017-05-22)
- Changesets:
- Revision 027df02d by Timo Teräs on 2017-04-26T06:34:32Z:
print: handle mixing stdout and stderr printing
Fixes regression from commit 5ba27c90 which caused stdio
buffering issues now that output is split to stderr/stdout.
See also commit 51737872 for some of the history.
Fixes #7107