aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd-run.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/satd-run.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/satd-run.c b/src/satd-run.c
index a2679bb..7cccb57 100644
--- a/src/satd-run.c
+++ b/src/satd-run.c
@@ -42,6 +42,7 @@ main(int argc, char *argv[])
/* Receive and validate message. */
t (readall(SOCK_FILENO, &message, &n) || (n && message[n - 1]));
+ shutdown(SOCK_FILENO, SHUT_RD);
if (n) {
msg_argv = restore_array(message, n, NULL);
t (!msg_argv);