summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevd.c')
-rw-r--r--udevd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/udevd.c b/udevd.c
index 3392eea1a1..c75141f9fa 100644
--- a/udevd.c
+++ b/udevd.c
@@ -946,9 +946,8 @@ int main(int argc, char *argv[], char *envp[])
if (uevent_netlink_active && msg->type == UDEVD_UEVENT_UDEVSEND && msg->seqnum != 0) {
dbg("skip uevent_helper message, netlink is active");
free(msg);
- continue;
- }
- msg_queue_insert(msg);
+ } else
+ msg_queue_insert(msg);
}
}