Return the error code from most commands, rather than swallowing it.
Adapted the example (lying slightly about the string printed by
login()).
1 file changed