4f16af Make rpmsign exit values more consistent with our other tools

1 file Authored by Panu Matilainen 4 years ago, Committed by Hunor Csomortáni 4 years ago,
1 file changed. 5 lines added. 3 lines removed.
    Make rpmsign exit values more consistent with our other tools
    
    rpmPkgSign*() return -1 for failure, which is not that helpful when
    returned to shell and the way it was counted could easily wrap around
    when signing multiple packages. Return number of failures similarly to
    how rpm -q and frieds does, avoid overflows and xargs special value 255.
    
        
file modified
+5 -3