exec-util: handle putenv() errors
authorLennart Poettering <lennart@poettering.net>
Tue, 25 Sep 2018 10:02:26 +0000 (12:02 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 25 Sep 2018 10:04:14 +0000 (12:04 +0200)
commited689f7894e56024a11bd02327b2bdfce5636dfd
treee9a1b9d1f3ede07179662ffe9f452eee775c3f7d
parent9afd5740391980fee5d89888fb206aed55fbaed7
exec-util: handle putenv() errors

Just paranoia, as putenv() can fail and we should catch it, like we
catch all other errors.

Follow-up for #10073
src/basic/exec-util.c