diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-21 04:32:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-21 04:32:44 +0200 |
commit | 672c48cc065251ddbdc3926221e8a7718241cccd (patch) | |
tree | 59aaccdca30c64a82b99f4698985d7a880be1840 /src/log.c | |
parent | 294d81f124568983323a53f40bfbaa371f0da077 (diff) |
pam: remove only sessions we ourselves created in the first place
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |