summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-06-21 12:38:25 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-06-21 12:38:25 +0300
commitd3e4fae797b9467828c33c89b55a991067e8bcde (patch)
tree6cf809a7c4d4a41e04c204a1393162d0a4eec59e /support-files
parent690ae1de45943b549ca792862d6de03fdfb5f923 (diff)
parente46f76c9749d7758765ba274a212cfc2dcf3eeb8 (diff)
downloadmariadb-git-d3e4fae797b9467828c33c89b55a991067e8bcde.tar.gz
Merge 10.3 into 10.4
Diffstat (limited to 'support-files')
-rw-r--r--support-files/rpm/server-posttrans.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/rpm/server-posttrans.sh b/support-files/rpm/server-posttrans.sh
index 313274c6140..d91ff65e04f 100644
--- a/support-files/rpm/server-posttrans.sh
+++ b/support-files/rpm/server-posttrans.sh
@@ -3,7 +3,7 @@ if [ -r %{restart_flag} ] ; then
# only restart the server if it was already running
if [ -x /usr/bin/systemctl ] ; then
/usr/bin/systemctl daemon-reload > /dev/null 2>&1
- if [ /usr/bin/systemctl is-active mysql ]; then
+ if /usr/bin/systemctl is-active mysql; then
/usr/bin/systemctl restart mysql > /dev/null 2>&1
else
/usr/bin/systemctl try-restart mariadb.service > /dev/null 2>&1