Bug 1058889 - Return expected exit code on status operation