- Complain and die if --dry-run is used with a batch option.
[rsync/rsync.git] / clientserver.c
index 0757647..a810483 100644 (file)
@@ -97,7 +97,8 @@ int start_socket_client(char *host, char *path, int argc, char *argv[])
        return ret < 0? ret : client_run(fd, fd, -1, argc, argv);
 }
 
-int start_inband_exchange(char *user, char *path, int f_in, int f_out, int argc)
+int start_inband_exchange(char *user, char *path, int f_in, int f_out, 
+                         int argc)
 {
        int i;
        char *sargs[MAX_ARGS];
@@ -460,6 +461,7 @@ static int rsync_module(int f_in, int f_out, int i)
 
        if (!ret) {
                option_error();
+               msleep(400);
                exit_cleanup(RERR_UNSUPPORTED);
        }