From 16b9e3c6473b5a4c0db548054572f5b79aff9ecc Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 2 Aug 2010 17:56:22 +0000 Subject: Return rather than exiting once route is deleted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@981643 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/tools/src/py/qpid-route | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/tools/src') diff --git a/qpid/tools/src/py/qpid-route b/qpid/tools/src/py/qpid-route index 64a22c0614..ceb0c6313e 100755 --- a/qpid/tools/src/py/qpid-route +++ b/qpid/tools/src/py/qpid-route @@ -325,7 +325,7 @@ class RouteManager: res = link.close() if res.status != 0: raise Exception("Error closing link: %d - %s" % (res.status, res.text)) - sys.exit(0) + return if not _quiet: raise Exception("Route not found") -- cgit v1.2.1