summaryrefslogtreecommitdiff
path: root/python/walmgr.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/walmgr.py')
-rwxr-xr-xpython/walmgr.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/walmgr.py b/python/walmgr.py
index 5b12980d..dfac72e2 100755
--- a/python/walmgr.py
+++ b/python/walmgr.py
@@ -1144,11 +1144,11 @@ config_backup = %(config_backup)s
except Exception, e:
self.log.error(e)
errors = True
-
- try:
- self.pg_stop_backup()
- except:
- pass
+ finally:
+ try:
+ self.pg_stop_backup()
+ except:
+ pass
try:
self.remote_walmgr("xrelease")