366bbbb Avoid a race condition when creating LOG_DIR

Authored and Committed by churchyard a year ago
    Avoid a race condition when creating LOG_DIR
    
    Fixes https://bugzilla.redhat.com/2106165
    
        
file added
+62
file modified
+7 -0