diff options
Diffstat (limited to 'geo-replication/syncdaemon/resource.py')
| -rw-r--r-- | geo-replication/syncdaemon/resource.py | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/resource.py b/geo-replication/syncdaemon/resource.py index c66ded6e4a2..9dd8988dc6d 100644 --- a/geo-replication/syncdaemon/resource.py +++ b/geo-replication/syncdaemon/resource.py @@ -1099,6 +1099,12 @@ class SlaveRemote(object):          # waiting for transfer to complete          _, stderr1 = p1.communicate() +        # stdin and stdout of p0 is already closed, Reset to None and +        # wait for child process to complete +        p0.stdin = None +        p0.stdout = None +        p0.communicate() +          if log_err:              for errline in stderr1.strip().split("\n")[:-1]:                  logging.error("SYNC Error(Untar): %s" % errline)  | 
