summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-06-22 01:31:24 +0200
committerKay Sievers <kay.sievers@suse.de>2005-06-22 01:31:24 +0200
commitd27d3bb05288fb5e70bc3f3fc7da1dc8ee5413a8 (patch)
tree7f9d497c81d6c2d589f36a1be52f8a945d628daf /udev.c
parentbf5d2964730e63316861e310d1f24c165b11e961 (diff)
fix udevstart and let all events trvel trough udev
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/udev.c b/udev.c
index f7b9bf3573..67d081d005 100644
--- a/udev.c
+++ b/udev.c
@@ -200,13 +200,13 @@ int main(int argc, char *argv[], char *envp[])
info("device event will be ignored");
goto cleanup;
}
- } else if (strcmp(action, "remove") == 0) {
- dbg("devices remove");
- udev_rules_get_run(&udev, NULL);
- if (udev.ignore_device) {
- info("device event will be ignored");
- goto cleanup;
- }
+ }
+ } else {
+ dbg("default handling");
+ udev_rules_get_run(&udev, NULL);
+ if (udev.ignore_device) {
+ info("device event will be ignored");
+ goto cleanup;
}
}