Squashed commit of the following:

commit 5ff92ca77dda4378b29891703d20f867e88083a3
Author: Michael Nigh <mic.nigh@gmail.com>
Date:   Tue May 14 14:54:47 2013 -0600

    Use distinct error codes

commit 298737f4f0943c3946e4447d53aeae03a1ee5d32
Author: Michael Nigh <mic.nigh@gmail.com>
Date:   Tue May 14 11:56:19 2013 -0700

    Use error exit code on failure

    Just error code 1 for now.  Good enough for most cases.

    May want to revisit later and set the code based on type of error or returned exit code from remote command.