fixes exit code from sub-commands not propagating

if a sub-command was failing, we weren't getting a code 1.