diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-12-25 15:23:45 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-12-25 15:23:45 +0100 |
commit | f46d2e54a82086eddcd9cd91e7908e87d7424148 (patch) | |
tree | ea08dbce116f1411ecb5369f696b3fac000ebf00 /udev/test-udev.c | |
parent | 1d67ec16c44711bbfb50ac7dd8bb2fb6e64a80f3 (diff) |
remove UDEV_RUN environment variable
It handles only RUN but not IMPORT and PROGRAM. There is no sane way
to suppress program execution. Most important programs run with IMPORT
these days. Also events can no longer suppressed with the libudev
netlink messages, so UDEV_RUN does nothing useful and is just
inconsistent.
Diffstat (limited to 'udev/test-udev.c')
-rw-r--r-- | udev/test-udev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/test-udev.c b/udev/test-udev.c index 75518f628d..28c833a9e5 100644 --- a/udev/test-udev.c +++ b/udev/test-udev.c @@ -108,7 +108,7 @@ int main(int argc, char *argv[]) if (udev_device_get_event_timeout(dev) >= 0) alarm(udev_device_get_event_timeout(dev)); - if (err == 0 && udev_get_run(udev)) + if (err == 0) udev_event_execute_run(event, NULL); udev_event_unref(event); |