]> git.proxmox.com Git - mirror_qemu.git/commit - qga/commands-posix.c
qga: remove explicit environ argument from exec/spawn
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 23 Mar 2022 15:57:41 +0000 (19:57 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Apr 2022 12:31:55 +0000 (14:31 +0200)
commitfcc41961c936d312c5a8a788aea34e41a6d09a18
treeb5be31b6ecc79f2b01148f47c0e90ba4fdf63790
parente9c4e0a8e54008bd83459777c8b8f5a38ff6fea2
qga: remove explicit environ argument from exec/spawn

Environment is implicitly inherited from the current process "environ"
variable for execl() or g_spawn_sync(), no need to be explicit about it.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220323155743.1585078-31-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build
qga/commands-posix.c