projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98520be
)
do not skip RUN execution if device node removal fails
author
Anthony L. Awtrey
<tony@awtrey.com>
Sat, 29 Dec 2007 16:19:06 +0000
(17:19 +0100)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Sat, 29 Dec 2007 16:19:06 +0000
(17:19 +0100)
udev_node.c
patch
|
blob
|
history
diff --git
a/udev_node.c
b/udev_node.c
index
c620e4a
..
bd58a6c
100644
(file)
--- 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);