rpm-ostree/src
Colin Walters d6de31d90d libpriv/scripts: Only log to journal if uid == 0
The previous change to log to the journal broke running `ex container` as
non-root with scripts. Yes, I really desperately need to set up real tests for
that, like we have for composes. And obviously checking `getuid() == 0` is a bit
crude but doing better would require plumbing through quite a bit of of
knowledge from the toplevel down into script execution.

Closes: #1021
Approved by: jlebon
2017-09-28 20:59:18 +00:00
..
app compose: Copy in additional files before postprocessing 2017-09-28 15:38:55 +00:00
daemon daemon: Some misc new style porting 2017-09-28 19:29:31 +00:00
lib lib: Add version macros and version checking function 2017-07-21 20:35:26 +00:00
libpriv libpriv/scripts: Only log to journal if uid == 0 2017-09-28 20:59:18 +00:00