Call read_stream_flags() as soon as we open the batch file for
authorWayne Davison <wayned@samba.org>
Sat, 24 Jul 2004 16:40:41 +0000 (16:40 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 24 Jul 2004 16:40:41 +0000 (16:40 +0000)
reading.

main.c

diff --git a/main.c b/main.c
index db37e0f..fb0924a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1086,6 +1086,8 @@ int main(int argc,char *argv[])
                                batch_name);
                        exit_cleanup(RERR_FILEIO);
                }
+               if (read_batch)
+                       read_stream_flags(batch_fd);
        }
 
        if (am_daemon && !am_server)