Commit 9da29acc authored by unknown's avatar unknown

Move "check_running_as_root" to after var directory has been created

parent 3651240e
...@@ -376,7 +376,6 @@ sub main () { ...@@ -376,7 +376,6 @@ sub main () {
check_ndbcluster_support(); # We check whether to actually use it later check_ndbcluster_support(); # We check whether to actually use it later
check_ssl_support(); check_ssl_support();
check_running_as_root();
environment_setup(); environment_setup();
signal_setup(); signal_setup();
...@@ -1661,6 +1660,7 @@ sub initialize_servers () { ...@@ -1661,6 +1660,7 @@ sub initialize_servers () {
save_installed_db(); save_installed_db();
} }
} }
check_running_as_root();
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment