]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: Fix incorrect usage of putenv
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 1 Aug 2020 14:05:01 +0000 (15:05 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 3 Aug 2020 07:58:05 +0000 (09:58 +0200)
commit6f646e01755df587bb33dae4ca78cdaad5721f5e
treef2b1117e3e6bcff477787a3be4ca685df3a7d9dc
parent825cba0d4327dcf88ed32aedfbe5851e2d65807c
nspawn: Fix incorrect usage of putenv

strv_env_get only returns the environment variable value. putenv expects
KEY=VALUE format strings. Use setenv instead to fix the use.
src/nspawn/nspawn.c