Commit e85c7afc authored by Tom Hughes's avatar Tom Hughes Committed by ǝɹʇʇɐʃǝ◖ xıʃǝɟ
Browse files

Retry a failed command after reconnecting

parent 17fdb597
......@@ -264,7 +264,7 @@ void *thread_main(void *arg)
break;
}
if (process(cmd, fd) < 1) {
while (process(cmd, fd) < 1) {
fprintf(stderr, "connection to renderd lost");
close(fd);
fd = -1;
......
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