0ba1a6c Issue 50920 - cl-dump exit code is 0 even if command fails with invalid arguments

Authored and Committed by spichugi 4 years ago
    Issue 50920 - cl-dump exit code is 0 even if command fails with invalid arguments
    
    Description of problem:
    When running the cl-dump.pl script with invalid arguments, the exit code is always 0,
    even if an error message is reported.
    
    Fix Description:
    Pass the return code to the end of the #main.
    Change CI test accordingly.
    
    https://pagure.io/389-ds-base/issue/50920
    
    Reviewed by: vashirov, mreynolds (Thanks!)