Exit code from gmg
|Reported by:||anongoblin||Owned by:|
If I attempt to create a user that exists already by executing this command twice:
gmg adduser --username foo --password bar --email firstname.lastname@example.org
I get an error message at the second time: "Sorry, a user with that name already exists." but the exit code stays 0. This should be non-0, so it's easier to script this.
It may be worthwhile to check the exit codes of other gmg subcommands as well.