summaryrefslogtreecommitdiff
path: root/qpid/python/commands/qpid-tool
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/python/commands/qpid-tool')
-rwxr-xr-xqpid/python/commands/qpid-tool8
1 files changed, 8 insertions, 0 deletions
diff --git a/qpid/python/commands/qpid-tool b/qpid/python/commands/qpid-tool
index 02579b9d35..1aee3a1b7f 100755
--- a/qpid/python/commands/qpid-tool
+++ b/qpid/python/commands/qpid-tool
@@ -111,9 +111,17 @@ class Mcli (Cmd):
def do_EOF (self, data):
print "quit"
+ try:
+ self.dataObject.do_exit ()
+ except:
+ pass
return True
def do_quit (self, data):
+ try:
+ self.dataObject.do_exit ()
+ except:
+ pass
return True
def postcmd (self, stop, line):