chiark / gitweb /
[PATCH] add SUBSYSTEM rule to catch all block devices and apply the disk permissions
[elogind.git] / udevsend.c
index 74cc09b3300869f5af734c4075eb265262f55aa8..05a50facc51600cb5eeb04eed1e3702f279686c4 100644 (file)
@@ -154,7 +154,7 @@ int main(int argc, char *argv[], char *envp[])
                }
 
                /* prevent loops in the scripts we execute */
-               if (strncmp(key, "MANAGED_EVENT=", 14) == 0) {
+               if (strncmp(key, "UDEVD_EVENT=", 12) == 0) {
                        dbg("seems that the event source is not the kernel, just exit");
                        goto exit;
                }