hotplug-dispatch: don't filter empty env variables
[project/procd.git] / hotplug-dispatch.c
index f1ece3833f235d59b321d6d9bd89ea3ef621fcd9..47060852ea909bc2e389003d30722682bc492eda 100644 (file)
@@ -241,9 +241,6 @@ static int hotplug_call(struct ubus_context *ctx, struct ubus_object *obj,
                        continue;
                *tmp = '=';
 
-               if (!strlen(++tmp))
-                       continue;
-
                if (!strcmp(enve, "ASYNC=0"))
                        async = false;