Modify ↓
Opened 19 years ago
Closed 19 years ago
#1960 closed defect (fixed)
trac-admin doesn't return a non zero return code on error
Reported by: | Owned by: | daniel | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | admin/console | Version: | 0.8.4 |
Severity: | major | Keywords: | return code rc |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
trac-admin doesn't return a non zero result code on error.
Eg
$ trac-admin /path/to/nowhere wiki dump WikiDump Failed to open environment. [Errno 2] No such file or directory: '/path/to/nowhere/VERSION' Wiki dump failed: 1 $ echo $? 0
This makes scripting trac-admin very difficult as its impossible to know when it has failed
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
Milestone: | → 0.9 |
---|---|
Priority: | normal → high |
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in [2271].