diff options
author | Anthony L. Awtrey <tony@awtrey.com> | 2007-12-29 17:19:06 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-12-29 17:19:06 +0100 |
commit | a0092d28dbb2c1c75c2fac17303b703343f03a35 (patch) | |
tree | b3b14d6f78fafd3f828a7651656ffaafd7129b59 | |
parent | 98520be72f9a0167df1da3c7b1a4ca2e88c3c831 (diff) |
do not skip RUN execution if device node removal fails
-rw-r--r-- | udev_node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev_node.c b/udev_node.c index c620e4aa0b..bd58a6c485 100644 --- a/udev_node.c +++ b/udev_node.c @@ -408,8 +408,8 @@ int udev_node_remove(struct udevice *udev) strlcat(filename, "/", sizeof(filename)); strlcat(filename, udev->name, sizeof(filename)); if (stat(filename, &stats) != 0) { - dbg("device node '%s' not found", filename); - return -1; + info("device node '%s' not found", filename); + return 0; } if (udev->devt && stats.st_rdev != udev->devt) { info("device node '%s' points to a different device, skip removal", filename); |