Bug#48086: mysql_secure_installation does NOT work on Solaris
Remove a bash-ism (if ! ...).
This commit is contained in:
parent
141e796163
commit
d31e4636b6
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user