MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Timothy Smith Date:November 3 2009 8:32pm
Subject:bzr commit into mysql-5.0-bugteam branch (timothy.smith:2835) Bug#48086
View as plain text  
#At file:///home/tsmith/m/bzr/bugteam/50-bugfix/ based on revid:timothy.smith@stripped

 2835 Timothy Smith	2009-11-03
      Bug#48086: mysql_secure_installation does NOT work on Solaris
      
      Remove a bash-ism (if ! ...).

    modified:
      scripts/mysql_secure_installation.sh
=== modified file 'scripts/mysql_secure_installation.sh'
--- a/scripts/mysql_secure_installation.sh	2007-01-01 04:31:23 +0000
+++ b/scripts/mysql_secure_installation.sh	2009-11-03 20:32:12 +0000
@@ -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


Attachment: [text/bzr-bundle] bzr/timothy.smith@sun.com-20091103203212-ybfcy0kd6w4n8cqc.bundle
Thread
bzr commit into mysql-5.0-bugteam branch (timothy.smith:2835) Bug#48086Timothy Smith3 Nov