summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-21 04:32:44 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-21 04:32:44 +0200
commit672c48cc065251ddbdc3926221e8a7718241cccd (patch)
tree59aaccdca30c64a82b99f4698985d7a880be1840 /src/log.c
parent294d81f124568983323a53f40bfbaa371f0da077 (diff)
pam: remove only sessions we ourselves created in the first place
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index e67a5b3b43..28bfb9a1e1 100644
--- a/src/log.c
+++ b/src/log.c
@@ -279,7 +279,7 @@ static int write_to_syslog(
msghdr.msg_iov = iovec;
msghdr.msg_iovlen = ELEMENTSOF(iovec);
- if (sendmsg(syslog_fd, &msghdr, 0) < 0)
+ if (sendmsg(syslog_fd, &msghdr, MSG_NOSIGNAL) < 0)
return -errno;
return 1;