Skip to content
  • Aaron Wells's avatar
    Allow CLI api to directly specify Unix process return code · 8725ae5d
    Aaron Wells authored
    Bug1275617. Existing code only accept a boolean value for the $error
    parameter, and return 0 or 127 for success or failure. This patch
    allows you to pass an int for the $error parameter, in which case
    that int is used as the return code. If you pass a boolean, we use
    the old 0/127 behavior.
    
    Change-Id: I96637f9c896184dc36c51bb968284f47f4fbc864
    8725ae5d