profiler: Flush stdout before printing
Apparently redirecting stderr to the same pipe as stdout does not guarantee that the data will not be mangled together. Flushing stdout before the profiler data is printed should ensure that it does not end up in the middle of some RPM path. Fixes: https://pagure.io/pungi/issue/1627 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>master
parent
146b88e1e9
commit
c7121f9378
Loading…
Reference in New Issue