summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
authorNathaniel Chen <nathaniel.chen@intel.com>2013-03-07 11:06:57 -0800
committerLennart Poettering <lennart@poettering.net>2013-03-07 20:53:14 +0100
commit8f838d8aab0c5480664de04dce0171de4f4c7b00 (patch)
tree35deba464226cd973008b553eeb0b1c67d7cfc5b /src/core/main.c
parentbf9335608821264163058a8b036a00775a8ffbe4 (diff)
core: move mount_setup_early() to main.c
move mount_setup_early() call to main.c, before security module setup, so there are no more repeat calls.
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 1c2453c9b1..24d8d3e982 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1357,6 +1357,7 @@ int main(int argc, char *argv[]) {
}
if (!skip_setup) {
+ mount_setup_early();
if (selinux_setup(&loaded_policy) < 0)
goto finish;
if (ima_setup() < 0)