diff options
author | Luca Boccassi <bluca@debian.org> | 2022-08-02 19:49:20 +0100 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2022-08-23 20:38:08 +0100 |
commit | 48b92b37acbd2bf9c36ac5e67961b15723243cda (patch) | |
tree | c9264b37c5d949b8e35d8219fb3eac426cf16f54 /src/test/test-socket-bind.c | |
parent | f52faaf923acfe6fe3f0955d1ad66840b13babfc (diff) | |
download | systemd-48b92b37acbd2bf9c36ac5e67961b15723243cda.tar.gz |
core: add basic infrastructure to record unit activation information
Not wired in by any unit type yet, just the basic to allocate,
ref, deref and plug in to other unit types.
Includes recording the trigger unit name and passing it to the
triggered unit as TRIGGER_UNIT= env var.
Diffstat (limited to 'src/test/test-socket-bind.c')
-rw-r--r-- | src/test/test-socket-bind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-socket-bind.c b/src/test/test-socket-bind.c index dadd2c0dff..d7d9110343 100644 --- a/src/test/test-socket-bind.c +++ b/src/test/test-socket-bind.c @@ -78,7 +78,7 @@ static int test_socket_bind( SERVICE(u)->type = SERVICE_ONESHOT; u->load_state = UNIT_LOADED; - r = unit_start(u); + r = unit_start(u, NULL); if (r < 0) return log_error_errno(r, "Unit start failed %m"); |