diff options
author | Kay Sievers <kay@vrfy.org> | 2014-05-15 17:25:25 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-05-15 17:25:25 -0400 |
commit | db992ba3a71f320faab8f90de77ef081305917bb (patch) | |
tree | 9be0abc33175d53f895eaf636ea46fdb533fa01b /test/test-udev.c | |
parent | 47ef6b2c66048f898d22c8dddee581d3f55a48c8 (diff) |
udev: do not skip the execution of RUN when renaming a network device fails
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'test/test-udev.c')
-rw-r--r-- | test/test-udev.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test-udev.c b/test/test-udev.c index e28cdae563..1828d54e42 100644 --- a/test/test-udev.c +++ b/test/test-udev.c @@ -165,9 +165,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); |