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-rm.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 '')
-rw-r--r-- | src/satd-rm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/satd-rm.c b/src/satd-rm.c index 6c4ed38..6a9f6cd 100644 --- a/src/satd-rm.c +++ b/src/satd-rm.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); msg_argv = restore_array(message, n, NULL); t (!msg_argv); |