Bug#48086: mysql_secure_installation does NOT work on Solaris

Remove a bash-ism (if ! ...).
This commit is contained in:
Timothy Smith 2009-11-03 13:32:12 -07:00
parent 141e796163
commit d31e4636b6

View File

@ -98,9 +98,7 @@ set_root_password() {
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "Password updated successfully!" echo "Password updated successfully!"
echo "Reloading privilege tables.." echo "Reloading privilege tables.."
if ! reload_privilege_tables; then reload_privilege_tables || exit 1
exit 1
fi
echo echo
rootpass=$password1 rootpass=$password1
make_config make_config