diff options
author | Wayne Davison <wayned@samba.org> | 2006-12-18 06:56:30 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-12-18 06:56:30 +0000 |
commit | e10664c5e877bd75b58fe542024fcecf74e55091 (patch) | |
tree | 2e1bea614e6457360087e8bf0f8b2e3be4548fb2 /main.c | |
parent | 99a957d3f4919e6e47a838ae068a5fd45a99105d (diff) | |
download | rsync-e10664c5e877bd75b58fe542024fcecf74e55091.tar.gz rsync-e10664c5e877bd75b58fe542024fcecf74e55091.tar.bz2 rsync-e10664c5e877bd75b58fe542024fcecf74e55091.zip |
Moved the write_stream_flags() call from io.c into main.c so that
it gets called before the transfer starts (thus ensuring that it
can write out un-tweaked values of preserver_[ug]id vars).
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1360,6 +1360,9 @@ int main(int argc,char *argv[]) } if (read_batch) read_stream_flags(batch_fd); + else + write_stream_flags(batch_fd); + } if (write_batch < 0) dry_run = 1; |