summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--os/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/connection.c b/os/connection.c
index e914d9d94..5294e5955 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -356,6 +356,7 @@ NotifyParentProcess(void)
write(displayfd, display, strlen(display));
write(displayfd, "\n", 1);
close(displayfd);
+ displayfd = -1;
}
if (RunFromSmartParent) {
if (ParentProcess > 1) {