diff options
author | Timothy Smith <timothy.smith@sun.com> | 2009-11-03 13:32:12 -0700 |
---|---|---|
committer | Timothy Smith <timothy.smith@sun.com> | 2009-11-03 13:32:12 -0700 |
commit | d31e4636b6e84a0b7ffb0d3d2c86ff0af912a38d (patch) | |
tree | ec6bba17ac15d80aa3d3a9ef37239e6fa4619b5f /scripts | |
parent | 141e79616303320289b33323cedbcdbe2d78c445 (diff) | |
download | mariadb-git-d31e4636b6e84a0b7ffb0d3d2c86ff0af912a38d.tar.gz |
Bug#48086: mysql_secure_installation does NOT work on Solaris
Remove a bash-ism (if ! ...).
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mysql_secure_installation.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/mysql_secure_installation.sh b/scripts/mysql_secure_installation.sh index 6c2d88d6d29..597f6cac83f 100644 --- a/scripts/mysql_secure_installation.sh +++ b/scripts/mysql_secure_installation.sh @@ -98,9 +98,7 @@ set_root_password() { if [ $? -eq 0 ]; then echo "Password updated successfully!" echo "Reloading privilege tables.." - if ! reload_privilege_tables; then - exit 1 - fi + reload_privilege_tables || exit 1 echo rootpass=$password1 make_config |