mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
udevtest: don't try to delete symlinks
This commit is contained in:
parent
876fa61d68
commit
c6d4aeb930
@ -249,10 +249,12 @@ void udev_node_remove_symlinks(struct udevice *udev)
|
||||
}
|
||||
|
||||
info("removing symlink '%s'", filename);
|
||||
unlink(filename);
|
||||
if (!udev->test_run) {
|
||||
unlink(filename);
|
||||
|
||||
if (strchr(filename, '/'))
|
||||
delete_path(filename);
|
||||
if (strchr(filename, '/'))
|
||||
delete_path(filename);
|
||||
}
|
||||
|
||||
strlcat(symlinks, filename, sizeof(symlinks));
|
||||
strlcat(symlinks, " ", sizeof(symlinks));
|
||||
|
Loading…
Reference in New Issue
Block a user