mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-13 20:06:22 -04:00
wanr people who use path names to rsync ::
This commit is contained in:
@@ -36,6 +36,11 @@ int start_socket_client(char *host, char *path, int argc, char *argv[])
|
||||
extern int am_client;
|
||||
extern int am_sender;
|
||||
|
||||
if (*path == '/') {
|
||||
rprintf(FERROR,"ERROR: The remote path must start with a module name\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
p = strchr(host, '@');
|
||||
if (p) {
|
||||
user = host;
|
||||
|
||||
Reference in New Issue
Block a user