diff options
author | Tarvi Pillessaar | 2011-04-27 09:48:29 +0000 |
---|---|---|
committer | Tarvi Pillessaar | 2011-04-27 09:48:29 +0000 |
commit | 27d2f3d6bbbd120f0fbb795e2cef04b2bb5f29bf (patch) | |
tree | 0c3b7cb9de499dfb52df0b031af2048cfe7c54b9 /python/walmgr.py | |
parent | 05c9944f8812606547e9fb51e8faddbdf2e21dab (diff) |
fixed failed sync exit code
Diffstat (limited to 'python/walmgr.py')
-rwxr-xr-x | python/walmgr.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/walmgr.py b/python/walmgr.py index bfd42ad3..540de4f3 100755 --- a/python/walmgr.py +++ b/python/walmgr.py @@ -1517,7 +1517,8 @@ STOP TIME: %(stop_time)s # got interesting WAL xlog = os.path.join(xlog_dir, fn) # copy data - if self.exec_rsync([xlog, dst_loc]) != 0: + self.log.info('Syncing %s' % xlog) + if self.exec_rsync([xlog, dst_loc], not daemon_mode) != 0: self.log.error('Cannot sync %s' % xlog) break else: |