diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-09 00:13:33 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-09 18:35:36 +0100 |
commit | ff0af2a1660bb122f29713c9b2aff8179f165bb7 (patch) | |
tree | 6180d63b50c0264246ced05f91f11adb94dbf6c4 /src/login/org.freedesktop.login1.conf | |
parent | b914ea8d379b446c4c9fac4ba181771676ef38cd (diff) |
core: modernize execution code a bit
Among other things, avoid log_struct() unless we really need it.
Also, use "r" as variable to store function errors in, instead of "err".
"r" is pretty much what we use everywhere else, hence using the same
here make sense.
FInally, in the child, when we want to log, make sure to open the
logging framework first, since it is explicitly closed in preparation
for the exec().
Diffstat (limited to 'src/login/org.freedesktop.login1.conf')
0 files changed, 0 insertions, 0 deletions