Skip to content

Commit da9332b

Browse files
authored
Merge pull request #55 from dev-sec/fix_for_fix_53
fix wrong parameter in new dynamic determination
2 parents 20967f0 + fdf543b commit da9332b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controls/mysql_conf.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
command("mysql -u#{user} -p#{pass} -sN -e \"select @@GLOBAL.datadir\";").stdout.strip
3030
end
3131

32-
mysql_log_file = if mysql_conf.params.mysqld && mysql_conf.params.mysqld.log_error
33-
mysql_conf.params.mysqld.log_error
32+
mysql_log_file = if mysql_conf.params.mysqld && mysql_conf.params.mysqld['log-error']
33+
mysql_conf.params.mysqld['log-error']
3434
else
3535
command("mysql -u#{user} -p#{pass} -sN -e \"select @@GLOBAL.log_error\";").stdout.strip
3636
end

0 commit comments

Comments
 (0)