mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Bug#48086: mysql_secure_installation does NOT work on Solaris
Remove a bash-ism (if ! ...).
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user