summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevd.c')
-rw-r--r--udevd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udevd.c b/udevd.c
index 7978bdb08a..446db8fd33 100644
--- a/udevd.c
+++ b/udevd.c
@@ -190,6 +190,7 @@ static void export_event_state(struct uevent_msg *msg, enum event_state state)
if (loop_msg->devpath && strcmp(loop_msg->devpath, msg->devpath) == 0)
return;
unlink(filename);
+ return;
case EVENT_FAILED:
create_path(filename_failed);
rename(filename, filename_failed);