[ZCM] [ZC] 2220/ 1 Request "zopectl always exits with status 0"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Fri Oct 20 12:33:11 EDT 2006


Issue #2220 Update (Request) "zopectl always exits with status 0"
 Status Pending, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2220

==============================================================
= Request - Entry #1 by slinkp on Oct 20, 2006 12:33 pm

bin/zopectl always exits with status 0, even when something is obviously wrong. This makes it less useful  for scripting tasks. Examples:

pw at kermit $ ./bin/zopectl run nosuchfile
Traceback (most recent call last):
  File "<string>", line 1, in ?
IOError: [Errno 2] No such file or directory: 'nosuchfile'
pw at kermit $ echo $?
0
pw at kermit $ ./bin/zopectl test -m error
(SNIP)
  Ran 2 tests with 1 failures and 1 errors in 0.031 seconds.
pw at kermit contentservices_dev $ echo $?
0

==============================================================



More information about the Zope-Collector-Monitor mailing list