summaryrefslogtreecommitdiff
path: root/databases/mariadb104-client/patches/patch-support-files_mysql.server.sh
blob: 5ab0d268d23b4e99f4d4187434e6f056b285dd44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-support-files_mysql.server.sh,v 1.1 2021/05/08 19:47:16 jdolecek Exp $

Shell portability.

--- support-files/mysql.server.sh.orig	2020-01-26 20:43:57.000000000 +0000
+++ support-files/mysql.server.sh
@@ -436,7 +436,7 @@ case "$mode" in
     exit $r
     ;;
   'bootstrap')
-      if test "$_use_systemctl" == 1 ; then
+      if test "$_use_systemctl" = 1 ; then
         log_failure_msg "Please use galera_new_cluster to start the mariadb service with --wsrep-new-cluster"
         exit 1
       fi