mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
core/exec-invoke: do not check array being non-NULL
Addresses https://download.copr.fedorainfracloud.org/results/packit/systemd-systemd-39680/fedora-rawhide-i386/09787959-systemd/builder-live.log.gz
This commit is contained in:
@@ -2134,7 +2134,7 @@ static int build_environment(
|
||||
}
|
||||
|
||||
if (!sd_id128_is_null(p->invocation_id)) {
|
||||
assert(p->invocation_id_string);
|
||||
assert(!isempty(p->invocation_id_string));
|
||||
|
||||
r = strv_extend_joined_with_size(&e, &n, "INVOCATION_ID=", p->invocation_id_string);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user