Skip to content

Commit

Permalink
mariadb: Handle non-existent logger in init
Browse files Browse the repository at this point in the history
Make sure init script has a fallback when logger is not available.

Signed-off-by: Michal Hrusecky <[email protected]>
  • Loading branch information
miska committed Oct 1, 2020
1 parent a333d71 commit 173314e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/mariadb/files/mysqld.init
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ STOP=10
NAME=mysqld

LOGGER="/usr/bin/logger -p user.err -s -t $NAME --"
[ -x "$LOGGER" ] || LOGGER="echo"

MYSQLADMIN=/usr/bin/mysqladmin
MYSQLD=/usr/bin/$NAME
Expand Down

0 comments on commit 173314e

Please sign in to comment.