chiark / gitweb /
systemctl: sort 'list-units' output
[elogind.git] / src / log.c
index e67a5b3b43e64f31ea25edfd60fd4e526a8390d7..28bfb9a1e133bf63d3c5d8039b9ac155d4cff4e6 100644 (file)
--- 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;