summaryrefslogtreecommitdiff
path: root/src/core/execute.c
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2023-01-20 15:01:03 +0000
committerGitHub <noreply@github.com>2023-01-20 15:01:03 +0000
commit71c6f0ac524e174800a23410b121bee45f9e3f67 (patch)
tree28d862288c21287a000a0e6fa6eeee7e54d11418 /src/core/execute.c
parent24a3b37f12a1a752e5a1379cadc15031b04c3fba (diff)
parente808a1d12eaa3c0e9eff600d1d8d84fff19de990 (diff)
downloadsystemd-71c6f0ac524e174800a23410b121bee45f9e3f67.tar.gz
Merge pull request #23309 from DaanDeMeyer/log-context
basic: Add log context
Diffstat (limited to 'src/core/execute.c')
-rw-r--r--src/core/execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index f5d57a63b5..ac3f096b0d 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -6650,7 +6650,7 @@ void exec_command_append_list(ExecCommand **l, ExecCommand *e) {
if (*l) {
/* It's kind of important, that we keep the order here */
- LIST_FIND_TAIL(command, *l, end);
+ end = LIST_FIND_TAIL(command, *l);
LIST_INSERT_AFTER(command, *l, end, e);
} else
*l = e;