summaryrefslogtreecommitdiffstats
path: root/kinit
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-28 09:09:36 +0000
committerSlávek Banko <slavek.banko@axis.cz>2013-04-28 13:05:31 +0200
commit93f550d17da9d258fe8cced99ceea088e14172b9 (patch)
treef8ef0ae312e831577a634113cfb09418b1c9065b /kinit
parentf723e96108e5204f53cf45aa600a6077e2ec6cde (diff)
downloadtdelibs-93f550d17da9d258fe8cced99ceea088e14172b9.tar.gz
tdelibs-93f550d17da9d258fe8cced99ceea088e14172b9.zip
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)
Diffstat (limited to 'kinit')
-rw-r--r--kinit/wrapper.c1
1 files changed, 0 insertions, 1 deletions
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;
}