Mention right option when using --delete-delay.
authorWayne Davison <wayned@samba.org>
Sun, 16 Jun 2013 23:33:32 +0000 (16:33 -0700)
committerWayne Davison <wayned@samba.org>
Sun, 16 Jun 2013 23:33:32 +0000 (16:33 -0700)
flist.c

diff --git a/flist.c b/flist.c
index a814bd0cab92425e11dd898a63bb77875597e012..bf8d124b6f9af2b4b2982242972e572e769137f1 100644 (file)
--- a/flist.c
+++ b/flist.c
@@ -1877,7 +1877,8 @@ static NORETURN void fatal_unsafe_io_error(void)
        /* This (sadly) can only happen when pushing data because
         * the sender does not know about what kind of delete
         * is in effect on the receiving side when pulling. */
-       rprintf(FERROR_XFER, "FATAL I/O ERROR: dying to avoid a --delete-during issue with a pre-3.0.7 receiver.\n");
+       rprintf(FERROR_XFER, "FATAL I/O ERROR: dying to avoid a --delete-%s issue with a pre-3.0.7 receiver.\n",
+               delete_during == 2 ? "delay" : "during");
        exit_cleanup(RERR_UNSUPPORTED);
 }