diff options
author | 2014-12-16 00:04:38 +0100 | |
---|---|---|
committer | 2014-12-16 00:04:38 +0100 | |
commit | f289f88472e6b73579906f520d6ca77e633e061b (patch) | |
tree | 321bf067dfac4833291b1af4ec73fb10527c585e | |
parent | unify subprocess on-exception code (diff) | |
download | R_overlay-f289f88472e6b73579906f520d6ca77e633e061b.tar.gz R_overlay-f289f88472e6b73579906f520d6ca77e633e061b.tar.bz2 R_overlay-f289f88472e6b73579906f520d6ca77e633e061b.zip |
run rsync with /dev/null as stdin
-rw-r--r-- | roverlay/remote/rsync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roverlay/remote/rsync.py b/roverlay/remote/rsync.py index 24e25f8..402d68f 100644 --- a/roverlay/remote/rsync.py +++ b/roverlay/remote/rsync.py @@ -82,7 +82,7 @@ def run_rsync ( cmdv, env=RSYNC_ENV ): ) # send SIGTERM and wait, # fall back to _stop_subprocess() if another exception is hit - _gracefully_stop_subprocess ( proc, kill_timeout_cs=40 ) + _gracefully_stop_subprocess ( proc, stdin=False, kill_timeout_cs=40 ) raise except Exception: |