Skip to content
Permalink
Browse files
deb: logrotate - fix my_print_defaults arg
Corrects: 7803601
  • Loading branch information
grooverdan committed Oct 30, 2020
1 parent 6d3356c commit 571bcf9
Showing 1 changed file with 1 addition and 1 deletion.
@@ -11,7 +11,7 @@
sharedscripts
postrotate
test -x /usr/bin/mysqladmin || exit 0
if [ -f `my_print_defaults --mariadbd | grep -oP "pid-file=\K[^$]+"` ]; then
if [ -f `my_print_defaults --mysqld | grep -oP "pid-file=\K[^$]+"` ]; then
# If this fails, check debian.conf!
mysqladmin --defaults-file=/etc/mysql/debian.cnf --local flush-error-log \
flush-engine-log flush-general-log flush-slow-log

0 comments on commit 571bcf9

Please sign in to comment.