summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-28 09:09:36 +0000
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-28 09:09:36 +0000
commita9e5bed29204900ce96e9bd89dc4a3444512ca83 (patch)
tree25bfb105fe6c135d5dde8b0c5e60f9551010517a
parent987dc667f267a536e918194ab13d7375c3ad5537 (diff)
downloadtdelibs-a9e5bed29204900ce96e9bd89dc4a3444512ca83.tar.gz
tdelibs-a9e5bed29204900ce96e9bd89dc4a3444512ca83.zip
Do not block on read of tdeinit socket and thereby rely on forcible tdeinit_shutdown termination during logout
This partially resolves Bug 760
-rw-r--r--kinit/wrapper.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kinit/wrapper.c b/kinit/wrapper.c
index 565c9a152..17fbb6a23 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;
}