diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-09-29 10:16:24 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-09-29 10:16:24 +0200 |
commit | 7497ebf8a49bfe30bb4110f2ac20a30f804b7946 (patch) | |
tree | 06bfc553455754e5198a5b0884502987ae565269 /support-files | |
parent | 0e76054b7b5f09246f31f8927194e9782f82634b (diff) | |
download | mariadb-git-7497ebf8a49bfe30bb4110f2ac20a30f804b7946.tar.gz |
mysqld_safe: close stdout and stderr
when they're not needed anymore. Helps when
daemonizing it from mysql.init
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.server.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index e5c8814f930..d4fff33af13 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -308,7 +308,7 @@ case "$mode" in then # Give extra arguments to mysqld with the my.cnf file. This script # may be overwritten at next upgrade. - $bindir/mysqld_safe --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args >/dev/null & + $bindir/mysqld_safe --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args & wait_for_ready; return_value=$? # Make lock for RedHat / SuSE |