diff options
author | Colin Walters <walters@verbum.org> | 2013-02-12 12:24:30 -0500 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-02-13 01:02:25 +0100 |
commit | 759c945a43577d56e85a927f15e7d9aaa94a4e4a (patch) | |
tree | b35afd4f6b987898e5929a24bfd02291864d7194 /src/timedate/timedated.c | |
parent | b43d1d01eabe2cbbf393e8f56b76e182c6069c4c (diff) |
journal: Don't use loginuid if it's not valid
Code above this attempted to load loginuid, if this failed for
whatever reason, we'd still end up using that value (0) in place of
realuid. Fix this by setting a bool when we know the loginuid is
valid.
This fixes journal messages showing up in per-user journals in
gnome-ostree (not configured with loginuid, but I'll shortly fix
that).
Diffstat (limited to 'src/timedate/timedated.c')
0 files changed, 0 insertions, 0 deletions