summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-01-29 18:01:24 +0000
committerThomas Adam <thomas@xteddy.org>2020-01-29 18:01:24 +0000
commit32be954bdd873ff768435625b56ccd520cef936a (patch)
tree86c2dd80cba45bf4e7628240290251d9a6782678 /client.c
parentbc36700d05747627f24f5abdb8e96efffaa923cd (diff)
parent44dad918f82124272486dfd4439dd72cb969fa12 (diff)
Merge branch 'obsd-master'
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 26c392b1..91e084a5 100644
--- a/client.c
+++ b/client.c
@@ -865,6 +865,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;
}
}