diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 20:34:50 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 20:34:50 +0100 |
commit | 4e8a81872679c3f01c344451da839523b8640f0f (patch) | |
tree | 7433b3753f484bf72ce0f2e913a8807feaf154e7 /src/satd-run.c | |
parent | m + receive messages (diff) | |
download | sat-4e8a81872679c3f01c344451da839523b8640f0f.tar.gz sat-4e8a81872679c3f01c344451da839523b8640f0f.tar.bz2 sat-4e8a81872679c3f01c344451da839523b8640f0f.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/satd-run.c')
-rw-r--r-- | src/satd-run.c | 1 |
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); |