mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
MDEV-25617 10.5.10 upgrade: "scriptlet / line 6 : [: is-active : binary operator expected"
This commit is contained in:
parent
db8fb40824
commit
9ecf9a644c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue