283434c Ticket 48306 - perl module conditional test is not conditional when checking SELinux policies

Authored and Committed by mreynolds 7 years ago
    Ticket 48306 - perl module conditional test is not conditional when checking SELinux policies
    
    Description:  If sestatus reports SELinux is disabled, SELinux commands
                  such as semanage and restorecon fail.  This patch checks the
                  availability and only if the status says SELinux is enabled,
                  it calls the SELinux commands.
    
    https://fedorahosted.org/389/ticket/48306
    
    Reviewed by: nhosoi(Thanks!)