aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon.h')
-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)