diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-06-21 09:07:40 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-06-21 09:07:40 +0300 |
commit | c9a85fb1b14d9944920ebdb3514c48ea57e1647d (patch) | |
tree | 922d11920b800072a90ebfba68ce23640500fb84 /support-files | |
parent | 068246c006b8f691982194529a32bff7eb010694 (diff) | |
parent | 773a07b65517327add6348c045cee14bdf489fe0 (diff) | |
download | mariadb-git-c9a85fb1b14d9944920ebdb3514c48ea57e1647d.tar.gz |
Merge 10.2 into 10.3
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/rpm/server-posttrans.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/rpm/server-posttrans.sh b/support-files/rpm/server-posttrans.sh index 1525b592735..3250423da8f 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 alredy 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 |