c7121f9 profiler: Flush stdout before printing

1 file Authored by lsedlar 2 years ago, Committed by lsedlar 2 years ago,
    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>
    
        
  • jenkins
    success (100%)
    Build #1982 successful (commit: c7121f93)
    2 years ago
file modified
+5 -0