zopectl: interactive mode broken (Windows only)
Bug #461446 reported by
yuppie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Low
|
ChrisW |
Bug Description
On trunk (and I guess also on the 2.12 branch) zopectl exits after most commands, e.g. after start, restart and stop. This is because do_windows always returns a true value. AFAICS only 'install' needs that return value. Here as a quick and dirty fix, but I'm sure there is a cleaner solution:
Index: src/Zope2/
=======
--- src/Zope2/
+++ src/Zope2/
@@ -83,7 +83,7 @@
)
- return err,InstanceService
+ return (command == 'install') and (err, InstanceService)
return inner
Changed in zope2: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
What do you mean by "exits"?
I'd expect:
$ zopectl start
...to return to the command line. What are you expecting?
Please do not apply the patch above.