nspawn: the second time on_orderly_shutdown() is called userdata is NULL (#38709)

We know that it is, because we set it to NULL in the very same
on_orderly_shutdown() call.
This commit is contained in:
Lennart Poettering
2025-08-25 19:08:01 +01:00
committed by GitHub
parent 8f6236164c
commit ce3b12713b
+1 -1
View File
@@ -2959,7 +2959,7 @@ static int wait_for_container(PidRef *pid, ContainerStatus *container) {
}
static int on_orderly_shutdown(sd_event_source *s, const struct signalfd_siginfo *si, void *userdata) {
PidRef *pid = ASSERT_PTR(userdata);
PidRef *pid = userdata;
assert(si);