diff options
author | Kay Sievers <kay@vrfy.org> | 2014-05-14 00:34:49 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2014-05-15 10:32:26 +0200 |
commit | 1ea972174baba40dbc80c51cbfc4edc49764b59b (patch) | |
tree | c208a821788d051ade3adecc695c9f2c5bee4460 /src/test/test-udev.c | |
parent | 19befb2d5fc087f96e40ddc432b2cc9385666209 (diff) |
udev: do not skip the execution of RUN when renaming a network device fails
Diffstat (limited to 'src/test/test-udev.c')
-rw-r--r-- | src/test/test-udev.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/test-udev.c b/src/test/test-udev.c index b0647441f0..b057cc8c0f 100644 --- a/src/test/test-udev.c +++ b/src/test/test-udev.c @@ -155,9 +155,8 @@ int main(int argc, char *argv[]) { } } - err = udev_event_execute_rules(event, rules, &sigmask_orig); - if (err == 0) - udev_event_execute_run(event, NULL); + udev_event_execute_rules(event, rules, &sigmask_orig); + udev_event_execute_run(event, NULL); out: if (event != NULL && event->fd_signal >= 0) close(event->fd_signal); |