chiark / gitweb /
udevd: add a missing return
authorKay Sievers <kay.sievers@suse.de>
Thu, 17 Nov 2005 17:53:53 +0000 (18:53 +0100)
committerKay Sievers <kay.sievers@suse.de>
Thu, 17 Nov 2005 17:53:53 +0000 (18:53 +0100)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
udevd.c

diff --git a/udevd.c b/udevd.c
index 7978bdb..446db8f 100644 (file)
--- 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);