chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
journald: set SO_PASSEC only if selinux is enabled
[elogind.git]
/
src
/
journal
/
test-journal.c
diff --git
a/src/journal/test-journal.c
b/src/journal/test-journal.c
index 45ced12b46ef3ca89e8278003c10c8fca4399f0f..a023509b703e491e61e75313a01ee9155f5e6431 100644
(file)
--- a/
src/journal/test-journal.c
+++ b/
src/journal/test-journal.c
@@
-22,6
+22,8
@@
#include <fcntl.h>
#include <unistd.h>
+#include <systemd/sd-journal.h>
+
#include "journal-file.h"
#include "log.h"
@@
-112,5
+114,7
@@
int main(int argc, char *argv[]) {
journal_directory_vacuum(".", 3000000, 0);
+ log_error("Exiting...");
+
return 0;
}