return returncode correctly
return returncode correctly

Reviewed By: xavierd

Differential Revision: D23434438

fbshipit-source-id: 813f987cf62e72c0b6704b31e6e9168006735b6f

facebook/wangle,facebook/wangle,facebook/wangle