summaryrefslogtreecommitdiff
path: root/clientserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'clientserver.c')
-rw-r--r--clientserver.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/clientserver.c b/clientserver.c
index 1cbabd3d..2bab6aa9 100644
--- a/clientserver.c
+++ b/clientserver.c
@@ -129,7 +129,10 @@ int start_socket_client(char *host, char *path, int argc, char *argv[])
if (strcmp(line,"@RSYNCD: EXIT") == 0) exit(0);
- rprintf(FINFO,"%s\n", line);
+ if (strncmp(line, "@ERROR", 6) == 0)
+ rprintf(FERROR,"%s\n", line);
+ else
+ rprintf(FINFO,"%s\n", line);
}
kludge_around_eof = False;