chiark / gitweb /
[PATCH] fix UDEV_NO_SLEEP
[elogind.git] / udevstart.c
index d94c9501c93a8884d2a39df006cbb8afe14b9ab6..2d5553e95529c8870aa21c622d361e69c5a5abaa 100644 (file)
@@ -75,9 +75,6 @@ static int device_list_insert(char *path, char *subsystem, struct list_head *dev
 
 static void udev_exec(const char *path, const char* subsystem)
 {
-       /* Setup env variables. */
-       setenv("UDEV_NO_SLEEP", "1", 1);
-
        /* Now call __udev_hotplug(). */
        if (__udev_hotplug("add", path, subsystem)) {
                dbg("Calling of udev_hotplug failed");