1 |
blino |
17466 |
diff -r 9a328aa25c53 -r a686884684ca linux_audit.c |
2 |
|
|
--- a/linux_audit.c Fri Sep 17 12:13:17 2010 -0400 |
3 |
|
|
+++ b/linux_audit.c Tue Sep 21 07:56:36 2010 -0400 |
4 |
|
|
@@ -81,9 +81,9 @@ |
5 |
|
|
} |
6 |
|
|
*--cp = '\0'; |
7 |
|
|
|
8 |
|
|
- /* Log command, ignoring EPERM on error. */ |
9 |
|
|
+ /* Log command, ignoring ECONNREFUSED on error. */ |
10 |
|
|
rc = audit_log_user_command(au_fd, AUDIT_USER_CMD, command, NULL, result); |
11 |
|
|
- if (rc <= 0) |
12 |
|
|
+ if (rc <= 0 && errno != ECONNREFUSED) |
13 |
|
|
warning("unable to send audit message"); |
14 |
|
|
|
15 |
|
|
efree(command); |