summaryrefslogtreecommitdiff
path: root/src/journal/journald-server.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-08-19 10:41:26 +0200
committerGitHub <noreply@github.com>2016-08-19 10:41:26 +0200
commitcbf138ebeff55d76fd7df06a1e797b96f41cb48f (patch)
tree4c0c31599f6a019569710d52a97bdd4c6789e1a8 /src/journal/journald-server.c
parent8249c5722d373121950cc667747f0ca56cc21bbb (diff)
parent61755fdae08fffd72229feb52af74a85a9e0c8f7 (diff)
Merge pull request #3988 from keszybz/journald-dynamic-users
Journald dynamic users
Diffstat (limited to 'src/journal/journald-server.c')
-rw-r--r--src/journal/journald-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c
index 443b2a4cd7..2a043a95b1 100644
--- a/src/journal/journald-server.c
+++ b/src/journal/journald-server.c
@@ -370,7 +370,7 @@ static JournalFile* find_journal(Server *s, uid_t uid) {
if (s->runtime_journal)
return s->runtime_journal;
- if (uid <= SYSTEM_UID_MAX)
+ if (uid <= SYSTEM_UID_MAX || uid_is_dynamic(uid))
return s->system_journal;
r = sd_id128_get_machine(&machine);