diff options
Diffstat (limited to 'udev_db.c')
-rw-r--r-- | udev_db.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -286,6 +286,9 @@ int udev_db_delete_device(struct udevice *udev) char filename[PATH_SIZE]; struct name_entry *name_loop; + if (udev->test_run) + return 0; + devpath_to_db_path(udev->dev->devpath, filename, sizeof(filename)); unlink(filename); |