diff options
author | 0xAX <0xAX@users.noreply.github.com> | 2016-10-10 05:57:03 +0300 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-09 22:57:03 -0400 |
commit | 10c961b9c9625d4e0408b5f21e2ba815148ccf63 (patch) | |
tree | 51fa8bd19cac6e14fc504892320421c17e2ad368 /src/core/execute.c | |
parent | 9fc932bff1e2058885fc458412b3c94d586cb586 (diff) |
main: initialize default unit little later (#4321)
systemd fills arg_default_unit during startup with default.target
value. But arg_default_unit may be overwritten in parse_argv() or
parse_proc_cmdline_item().
Let's check value of arg_default_unit after calls of parse_argv()
and parse_proc_cmdline_item() and fill it with default.target if
it wasn't filled before. In this way we will not spend unnecessary
time to for filling arg_default_unit with default.target.
Diffstat (limited to 'src/core/execute.c')
0 files changed, 0 insertions, 0 deletions