summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
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;
}
}