aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemon.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-31 19:26:03 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-31 19:26:03 +0100
commit0fd74dcac3257fda689e20e457bb6963d14a3a5b (patch)
tree9ace3515126cab836478a73c6e5b6d4cc9bb2356 /src/daemon.h
parentfix some errors (diff)
downloadsat-0fd74dcac3257fda689e20e457bb6963d14a3a5b.tar.gz
sat-0fd74dcac3257fda689e20e457bb6963d14a3a5b.tar.bz2
sat-0fd74dcac3257fda689e20e457bb6963d14a3a5b.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--src/daemon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon.h b/src/daemon.h
index 980cd64..5aaa1c6 100644
--- a/src/daemon.h
+++ b/src/daemon.h
@@ -113,6 +113,7 @@ static const char *failed__ = NULL;
*/
#define DAEMON_CLEANUP_START \
done: \
+ (void) send_string(SOCK_FILENO, 127, NULL); \
shutdown(SOCK_FILENO, SHUT_WR); \
close(SOCK_FILENO); \
close(STATE_FILENO)