Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add --no-detach option for W32, daemontools, etc.
[rsync/rsync.git]
/
rsync.h
diff --git
a/rsync.h
b/rsync.h
index
0346c6c
..
191ea5e
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-566,6
+566,11
@@
extern int verbose;
extern struct global_opts {
/** Network address family. **/
int af_hint;
extern struct global_opts {
/** Network address family. **/
int af_hint;
+
+ /** Do not go into the background when run as --daemon. Good
+ * for debugging and required for running as a service on W32,
+ * or under Unix process-monitors. **/
+ int no_detach;
} global_opts;
} global_opts;