summaryrefslogtreecommitdiff
path: root/udev_device.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-03-21 11:55:26 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-03-21 11:55:26 +0100
commiteff4a6736937fb9d55c09c598d0d232d38c5b06a (patch)
tree5627353b04dd1ed411c37789e38d7419894a4789 /udev_device.c
parent7586b637193968e8ef15b12d984b975eec66a803 (diff)
udevtest: add --force mode
Diffstat (limited to 'udev_device.c')
-rw-r--r--udev_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev_device.c b/udev_device.c
index 03514e1d48..d50c5ae043 100644
--- a/udev_device.c
+++ b/udev_device.c
@@ -164,6 +164,7 @@ int udev_device_event(struct udev_rules *rules, struct udevice *udev)
/* read current database entry; cleanup, if it is known device */
udev_old = udev_device_init(NULL);
if (udev_old != NULL) {
+ udev_old->test_run = udev->test_run;
if (udev_db_get_device(udev_old, udev->dev->devpath) == 0) {
info("device '%s' already in database, cleanup", udev->dev->devpath);
udev_db_delete_device(udev_old);