adapted exit codes to LSB specification