mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-11 17:31:10 +07:00
udevd: add a missing return
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
This commit is contained in:
parent
4389ec08fb
commit
8813e55c74
1
udevd.c
1
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);
|
||||
|
Loading…
Reference in New Issue
Block a user