summaryrefslogtreecommitdiff
path: root/src/udev-rules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev-rules.c')
-rw-r--r--src/udev-rules.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/udev-rules.c b/src/udev-rules.c
index d14a57abc7..c163712868 100644
--- a/src/udev-rules.c
+++ b/src/udev-rules.c
@@ -1451,6 +1451,9 @@ static int add_rule(struct udev_rules *rules, char *line,
}
if (strcmp(key, "RUN") == 0) {
+ if (strncmp(value, "socket:", 7) == 0)
+ err(rules->udev, "RUN+=\"socket:...\" support will be removed from a future udev release. "
+ "Please remove it from: %s:%u and use libudev to subscribe to events.\n", filename, lineno);
rule_add_key(&rule_tmp, TK_A_RUN, op, value, NULL);
continue;
}