diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-26 18:00:39 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-28 21:37:35 -0500 |
commit | 4f37cbd91164f8cd7dbc90e3b3594697fec50f38 (patch) | |
tree | dba4e1b407e448d7630ddd85d38828c005241e99 /Makefile.am | |
parent | 7d8e7c0e195ad014190b0eff2663b1e3a69ad328 (diff) |
journalctl: move access_check() to shared/
The only functional change is that log_notice("No journal files were found.")
is not printed any more with --quiet. log_error("No journal files were opened
due to insufficient permissions.") is still printed.
I wasn't quite sure where to put this function, but shared/ seems to be the
right place and none of the existing files seem to fit too well.
v2: rename journal_access_check to journal_access_check_and_warn.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 292f63c408..2a5610740e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1037,6 +1037,8 @@ libshared_la_SOURCES = \ src/shared/apparmor-util.h \ src/shared/ima-util.c \ src/shared/ima-util.h \ + src/shared/journal-util.c \ + src/shared/journal-util.h \ src/shared/ptyfwd.c \ src/shared/ptyfwd.h \ src/shared/base-filesystem.c \ |