projects
/
skytools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05c9944
)
fixed failed sync exit code
author
Tarvi Pillessaar
<tarvi.pillessaar@skype.net>
Wed, 27 Apr 2011 09:48:29 +0000
(09:48 +0000)
committer
Tarvi Pillessaar
<tarvi.pillessaar@skype.net>
Wed, 27 Apr 2011 09:48:29 +0000
(09:48 +0000)
python/walmgr.py
patch
|
blob
|
blame
|
history
diff --git
a/python/walmgr.py
b/python/walmgr.py
index bfd42ad3be2435a3c925fda0e5b2216f21ced446..540de4f3cf6f3ec9ffdebd60ebc10d80b608c42c 100755
(executable)
--- 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: