summaryrefslogtreecommitdiff
path: root/python/walmgr.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/walmgr.py')
-rwxr-xr-xpython/walmgr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/walmgr.py b/python/walmgr.py
index 2918b067..8de02bd4 100755
--- a/python/walmgr.py
+++ b/python/walmgr.py
@@ -1821,7 +1821,7 @@ STOP TIME: %(stop_time)s
self.log.info("%s: not found (ignored)", srcname)
# remove PG_RECEIVEXLOG file if it's present
- if os.path.isfile(prxlogfile):
+ if os.path.isfile(prxlogfile) and not srcname.endswith('.history'):
os.remove(prxlogfile)
sys.exit(1)