summaryrefslogtreecommitdiff
path: root/src/udev/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-05-14 00:34:49 +0200
committerKay Sievers <kay@vrfy.org>2014-05-15 10:32:26 +0200
commit1ea972174baba40dbc80c51cbfc4edc49764b59b (patch)
treec208a821788d051ade3adecc695c9f2c5bee4460 /src/udev/udevd.c
parent19befb2d5fc087f96e40ddc432b2cc9385666209 (diff)
udev: do not skip the execution of RUN when renaming a network device fails
Diffstat (limited to 'src/udev/udevd.c')
-rw-r--r--src/udev/udevd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index aecd208d40..bc0696c0ee 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -307,10 +307,9 @@ static void worker_new(struct event *event)
}
/* apply rules, create node, symlinks */
- err = udev_event_execute_rules(udev_event, rules, &sigmask_orig);
+ udev_event_execute_rules(udev_event, rules, &sigmask_orig);
- if (err == 0)
- udev_event_execute_run(udev_event, &sigmask_orig);
+ udev_event_execute_run(udev_event, &sigmask_orig);
/* apply/restore inotify watch */
if (err == 0 && udev_event->inotify_watch) {