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 authored and abychko committed Jun 16, 2021
1 parent c307dc6 commit 35b57c3
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 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

0 comments on commit 35b57c3

Please sign in to comment.