Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
mysql5
>
mysql-5.1.48
> mysql-5.1.48-logrotate.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mysql-5.1.48-logrotate.patch of Package mysql-5.1.48 (Revision 2)
Currently displaying revision
2
,
show latest
--- support-files/mysql-log-rotate.sh +++ support-files/mysql-log-rotate.sh @@ -31,6 +31,14 @@ @bindir@/mysqladmin ping &>/dev/null then @bindir@/mysqladmin flush-logs + ret=$? + if test $ret -ne 0 + then + echo "@sysconfdir@/logrotate.d/mysql failed, probably because" >&2 + echo "the root acount is protected by password." >&2 + echo "See comments in @sysconfdir@/logrotate/mysql on how to fix this" >&2 + exit $ret + fi fi endscript }