Move "check_running_as_root" to after var directory has been created

This commit is contained in:
msvensson@neptunus.(none) 2006-05-04 17:44:09 +02:00
parent 697069af2c
commit 8f7a52ce6c

View file

@ -376,7 +376,6 @@ sub main () {
check_ndbcluster_support(); # We check whether to actually use it later
check_ssl_support();
check_running_as_root();
environment_setup();
signal_setup();
@ -1661,6 +1660,7 @@ sub initialize_servers () {
save_installed_db();
}
}
check_running_as_root();
}
}