summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udev_rules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev_rules.c b/udev_rules.c
index 5669a8593e..4bf05cd437 100644
--- a/udev_rules.c
+++ b/udev_rules.c
@@ -748,8 +748,8 @@ static int match_rule(struct udevice *udev, struct udev_rule *rule,
const char *value = getenv(key_name);
if (!value) {
- dbg("ENV{'%s'} is not found", key_name);
- goto exit;
+ dbg("ENV{'%s'} is not set", key_name);
+ value = "";
}
if (match_key("ENV", rule, &pair->key, value))
goto exit;