summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-03-16 21:13:07 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-03-16 21:13:07 +0100
commit456cb387567da8a2beadf003dcbd874022dbc873 (patch)
treed5166386130c2001353d111eb5324e4f15dea7ed /udevd.c
parent6eee03ef45fa3b04cf7ac94fd5bc5f982a33bfb7 (diff)
selinux: move selinux_exit() to the main programs
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 2c92590dcd..4aad165d8a 100644
--- a/udevd.c
+++ b/udevd.c
@@ -1230,6 +1230,7 @@ int main(int argc, char *argv[], char *envp[])
exit:
udev_rules_cleanup(&rules);
sysfs_cleanup();
+ selinux_exit();
if (signal_pipe[READ_END] >= 0)
close(signal_pipe[READ_END]);