trac-admin should return nonzero if the command fails
|Reported by:||Owned by:||daniel|
It would be helpful for trac-admin to return a nonzero value if the command fails (as in when invoked from the command line, not interactively). This would make it easier to write scripts that can determine right then and there whether the command succeeded.
Maybe I'm just slow, but my backup scripts are parsing the output, which incidentally changed for the hotcopy command since 0.8, leading to a little frustration on my part. This kind of thing could be avoided if I could glean some meaning from the return value of trac-admin.
I was going to add this as a comment to #2162 since they are outwardly similar, but I imagine it's an entirely different issue internally, hence a new ticket.