if (exchange_protocols(f_in, f_out, line, sizeof line, 1) < 0)
return -1;
if (exchange_protocols(f_in, f_out, line, sizeof line, 1) < 0)
return -1;
/* set daemon_over_rsh to false since we need to build the
* true set of args passed through the rsh/ssh connection;
* this is a no-op for direct-socket-connection mode */
/* set daemon_over_rsh to false since we need to build the
* true set of args passed through the rsh/ssh connection;
* this is a no-op for direct-socket-connection mode */
return rsync_module(f_in, f_out, i, addr, host);
}
return rsync_module(f_in, f_out, i, addr, host);
}
rsyserr(FLOG, errno, "failed to create pid file %s", pid_file);
exit_cleanup(RERR_FILEIO);
}
rsyserr(FLOG, errno, "failed to create pid file %s", pid_file);
exit_cleanup(RERR_FILEIO);
}