Skip to content

Commit

Permalink
MDEV-14337 mysqld_safe may suppress error messages with --log-output=…
Browse files Browse the repository at this point in the history
…file

don't close stdout/stderr, redirect them to /dev/null instead.
otherwise redirections like >&2 fail with "invalid file descriptor"
  • Loading branch information
vuvova committed Nov 10, 2017
1 parent c64a697 commit 36f8474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/mysqld_safe.sh
Expand Up @@ -868,8 +868,8 @@ if expr "${-}" : '.*x' > /dev/null
then
:
else
exec 1>&-
exec 2>&-
exec 1>/dev/null
exec 2>/dev/null
fi

while true
Expand Down

0 comments on commit 36f8474

Please sign in to comment.