From 93f550d17da9d258fe8cced99ceea088e14172b9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 28 Apr 2013 09:09:36 +0000 Subject: [PATCH] Do not block on read of tdeinit socket and thereby rely on forcible tdeinit_shutdown termination during logout This partially resolves Bug 760 (cherry picked from commit a9e5bed29204900ce96e9bd89dc4a3444512ca83) --- kinit/wrapper.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kinit/wrapper.c b/kinit/wrapper.c index 4d09e747d..4b90fba58 100644 --- a/kinit/wrapper.c +++ b/kinit/wrapper.c @@ -353,7 +353,6 @@ int main(int argc, char **argv) header.cmd = LAUNCHER_TERMINATE_KDE; header.arg_length = 0; write_socket(sock, (char *) &header, sizeof(header)); - read_socket(sock, (char *) &header, 1); /* wait for the socket to close */ return 0; }