From: Andrew Tridgell Date: Wed, 9 Sep 1998 05:51:08 +0000 (+0000) Subject: wanr people who use path names to rsync :: X-Git-Tag: v2.1.1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f98df1d9b731f3a096c8b7762acf68f0ffc8cb78;p=thirdparty%2Frsync.git wanr people who use path names to rsync :: --- diff --git a/clientserver.c b/clientserver.c index 955be24f..cf10b12f 100644 --- a/clientserver.c +++ b/clientserver.c @@ -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;