hotplug-dispatch: don't filter empty env variables
authorDaniel Golle <daniel@makrotopia.org>
Wed, 21 Feb 2024 00:06:37 +0000 (00:06 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 21 Feb 2024 00:08:41 +0000 (00:08 +0000)
commit2f949727e49a65893b1ccb9539ed6421f219dfb9
tree2e3b804d561ea1dc77a0e4ee3a46fa536e316ed0
parent7e6c6efd6fbcc7955801c5e2ac915a90697e1fd9
hotplug-dispatch: don't filter empty env variables

Empty environment variables are a valid case and are needed to
override (or remove) existing variables such as HOSTNAME.

Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
hotplug-dispatch.c