354076 Fix: tools, libcrmcommon: Reopen the output dest on reset.

5 files Authored by Chris Lumens 4 years ago, Committed by Packit Service 4 years ago,
    Fix: tools, libcrmcommon: Reopen the output dest on reset.
    
    This is needed when running crm_mon as a daemon.  When we do a reset,
    we need to clear out any existing output destination and start writing
    again from the beginning.  This really only matters when the destination
    is a file.
    
    The extra freopen at the end of crm_mon is to handle when crm_mon is
    killed.  We need to reset the output file to its beginning before
    calling finish.
    
        
file modified
+3 -0
file modified
+3 -0
file modified
+3 -0
file modified
+3 -0
file modified
+9 -0