Commit c613d370 authored by David Dykstra's avatar David Dykstra

If a daemon prints an error message of @ERROR, have the client treat the

message as an FERROR rather than an FINFO.
parent d52a22e4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment