mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 21:04:15 -04:00
Doc.
This commit is contained in:
1 parent
a254fd9798
commit
cae95647a4
1 file changed
+7
-1
+7
-1
@@ -147,7 +147,13 @@ int start_socket_client(char *host, char *path, int argc, char *argv[])
|
||||
|
||||
if (strcmp(line,"@RSYNCD: OK") == 0) break;
|
||||
|
||||
if (strcmp(line,"@RSYNCD: EXIT") == 0) exit(0);
|
||||
if (strcmp(line,"@RSYNCD: EXIT") == 0) {
|
||||
/* This is sent by recent versions of the
|
||||
* server to terminate the listing of modules.
|
||||
* We don't want to go on and transfer
|
||||
* anything; just exit. */
|
||||
exit(0);
|
||||
}
|
||||
|
||||
if (strncmp(line, "@ERROR", 6) == 0)
|
||||
rprintf(FERROR,"%s\n", line);
|
||||
|
||||
Reference in new issue
Block a user