]> git.ipfire.org Git - thirdparty/util-linux.git/commit
env: ignore only invalid environment variables
authorTobias Stoeckmann <tobias@stoeckmann.org>
Thu, 8 Jan 2026 20:55:10 +0000 (21:55 +0100)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 9 Jan 2026 20:10:15 +0000 (21:10 +0100)
commit9dfd32fda3cc9f647cbd2beaa78153b04a03f720
treec952887089efd7decd238daf39fea0a669d855e7
parent3b373f1c94e8edfb6e696a5c34b1c9795d146141
env: ignore only invalid environment variables

Returning NULL drops the start of the currently existing linked list,
effectively removing all previously added environment variables.

Only ignore the invalid one, but keep the linked list available.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
lib/env.c