Mention the current limitation of the RSYNC_EXIT_STATUS value.
authorWayne Davison <wayned@samba.org>
Wed, 20 Sep 2006 14:04:19 +0000 (14:04 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 20 Sep 2006 14:04:19 +0000 (14:04 +0000)
rsyncd.conf.yo

index 6ac5f28ea75fb473e791f8c83f204b4ee7f8f033..f6075d089fc88aa6aa6c20b356d0a8de35c573da 100644 (file)
@@ -512,9 +512,11 @@ quote(itemize(
   it() bf(RSYNC_ARG#): (pre-xfer only) The pre-request arguments are set
   in these numbered values. RSYNC_ARG0 is always "rsyncd", and the last
   value contains a single period.
-  it() bf(RSYNC_EXIT_STATUS): (post-xfer only) rsync's exit value.  This will be 0 for a
-  successful run, a positive value for an error that rsync returned
-  (e.g. 23=partial xfer), or a -1 if rsync failed to exit properly.
+  it() bf(RSYNC_EXIT_STATUS): (post-xfer only) the server side's exit value.
+  This will be 0 for a successful run, a positive value for an error that the
+  server generated, or a -1 if rsync failed to exit properly.  Note that an
+  error that occurs on the client side does not currently get sent to the
+  server side, so this is not the final exit status for the whole transfer.
   it() bf(RSYNC_RAW_STATUS): (post-xfer only) the raw exit value from code(waitpid()).
 ))