summaryrefslogtreecommitdiff
path: root/src/udev/udevadm-test.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-13 08:52:01 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-09-13 08:52:01 -0400
commit7ac0491cdb6e7e970d0721824fdea2f675272192 (patch)
tree0b2a5b3efb2dcbaef7d8c879cd7692f2b9d92d87 /src/udev/udevadm-test.c
parentffdc02f45bcc973249406b2c9bd996f8b27fa2a5 (diff)
udev: timeout - warn after a third of the timeout before killing
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udevadm-test.c')
-rw-r--r--src/udev/udevadm-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm-test.c b/src/udev/udevadm-test.c
index 809adb6d9a..4738b611c3 100644
--- a/src/udev/udevadm-test.c
+++ b/src/udev/udevadm-test.c
@@ -136,7 +136,7 @@ static int adm_test(struct udev *udev, int argc, char *argv[]) {
goto out;
}
- udev_event_execute_rules(event, 60 * USEC_PER_SEC, rules, &sigmask_orig);
+ udev_event_execute_rules(event, 60 * USEC_PER_SEC, 20 * USEC_PER_SEC, rules, &sigmask_orig);
udev_list_entry_foreach(entry, udev_device_get_properties_list_entry(dev))
printf("%s=%s\n", udev_list_entry_get_name(entry), udev_list_entry_get_value(entry));