summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/client.c b/client.c
index a36c6471..0c2a6ee2 100644
--- a/client.c
+++ b/client.c
@@ -863,6 +863,12 @@ client_dispatch_wait(struct imsg *imsg)
case MSG_WRITE_CLOSE:
client_write_close(data, datalen);
break;
+ case MSG_OLDSTDERR:
+ case MSG_OLDSTDIN:
+ case MSG_OLDSTDOUT:
+ fprintf(stderr, "server version is too old for client\n");
+ proc_exit(client_proc);
+ break;
}
}