krimdomu/Rex — pull request #74 by jorisd (2012-10-23 13:22:16+00:00)
Title: Fix $? when a command is run locally.

When run Locally, a command return value is left-shifted 8 times.
This behavior isn't noticed when the exact same command is run through SSH.

$ perldoc -f system

This is by design, but Rex needs to stay the same wherever we are running locally or remotely.