Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
5223b786
Commit
5223b786
authored
Nov 22, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A daemon needs to set dry_run with --only-write-batch.
parent
3f0211b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
clientserver.c
clientserver.c
+4
-0
No files found.
clientserver.c
View file @
5223b786
...
...
@@ -23,6 +23,7 @@
#include "ifuncs.h"
extern
int
verbose
;
extern
int
dry_run
;
extern
int
output_motd
;
extern
int
list_only
;
extern
int
am_sender
;
...
...
@@ -39,6 +40,7 @@ extern int remote_protocol;
extern
int
protocol_version
;
extern
int
io_timeout
;
extern
int
no_detach
;
extern
int
write_batch
;
extern
int
default_af_hint
;
extern
int
logfile_format_has_i
;
extern
int
logfile_format_has_o_or_i
;
...
...
@@ -681,6 +683,8 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
am_server
=
1
;
/* Don't let someone try to be tricky. */
if
(
lp_ignore_errors
(
module_id
))
ignore_errors
=
1
;
if
(
write_batch
<
0
)
dry_run
=
1
;
if
(
lp_fake_super
(
i
))
am_root
=
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment