Ticket 47962 - perl scripts not returning expected error code
Bug Description: WHne one o the instance perl scripts fails, it either
returns sucess, or the wrong the error code.
Fix Description: The perl scripts need to bit shift the result code by 8,
and return the result.
https://fedorahosted.org/389/ticket/47962
Reviewed by: rmeggins(Thanks!)