From 4cc45aa719a527457ec0d88dcbc7216ca3be2b7e Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 26 Jul 2026 15:08:15 +0000 Subject: [PATCH] =?UTF-8?q?Do=20not=20try=20to=20write=20to=20clients=20wh?= =?UTF-8?q?ich=20have=20died,=20GitHub=20issue=205431=20from=20Stefan=20La?= =?UTF-8?q?dst=C3=A4tter.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/file.c b/file.c index a9c393c04..4207f8053 100644 --- a/file.c +++ b/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.20 2026/05/17 10:54:01 nicm Exp $ */ +/* $OpenBSD: file.c,v 1.21 2026/07/26 15:08:15 nicm Exp $ */ /* * Copyright (c) 2019 Nicholas Marriott @@ -188,6 +188,7 @@ file_can_print(struct client *c) { if (c == NULL || (c->flags & CLIENT_ATTACHED) || + (c->flags & CLIENT_DEAD) || (c->flags & CLIENT_CONTROL)) return (0); return (1);