Skip to content
Permalink
Browse files
MDEV-25617 10.5.10 upgrade: "scriptlet / line 6 : [: is-active : bina…
…ry operator expected"
  • Loading branch information
vuvova committed May 19, 2021
1 parent db8fb40 commit 9ecf9a6
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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

0 comments on commit 9ecf9a6

Please sign in to comment.