Skip to content

Commit 9ecf9a6

Browse files
committed
MDEV-25617 10.5.10 upgrade: "scriptlet / line 6 : [: is-active : binary operator expected"
1 parent db8fb40 commit 9ecf9a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support-files/rpm/server-posttrans.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if [ -r %{restart_flag} ] ; then
33
# only restart the server if it was already running
44
if [ -x /usr/bin/systemctl ] ; then
55
/usr/bin/systemctl daemon-reload > /dev/null 2>&1
6-
if [ /usr/bin/systemctl is-active mysql ]; then
6+
if /usr/bin/systemctl is-active mysql; then
77
/usr/bin/systemctl restart mysql > /dev/null 2>&1
88
else
99
/usr/bin/systemctl try-restart mariadb.service > /dev/null 2>&1

0 commit comments

Comments
 (0)