diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-02-03 17:22:05 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-02-03 17:22:05 +0200 |
commit | a249e57b684a23dce4cbb870ca3eb30c77cb9fd6 (patch) | |
tree | 9c50673311474f7efa0d5d110461ad324c7a62e6 /support-files/mysql.server.sh | |
parent | 261ce5286f266f1a5fab5e8adc2c08adef658d13 (diff) | |
parent | 955c7b32226c816b24a2ed1750e12bc0256565ad (diff) | |
download | mariadb-git-a249e57b684a23dce4cbb870ca3eb30c77cb9fd6.tar.gz |
Merge 10.1 into 10.2
Temporarily disable a test for
commit 2175bfce3e9da8332f10ab0e0286dc93915533a2
because fixing it in 10.2 requires updating libmariadb.
Diffstat (limited to 'support-files/mysql.server.sh')
-rw-r--r-- | support-files/mysql.server.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index e2054a8fb98..09f26d52129 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -185,7 +185,11 @@ fi user='@MYSQLD_USER@' su_kill() { - su - $user -s /bin/sh -c "kill $*" >/dev/null 2>&1 + if test "$USER" = "$user"; then + kill $* >/dev/null 2>&1 + else + su - $user -s /bin/sh -c "kill $*" >/dev/null 2>&1 + fi } # |