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

Shell portability.

--- scripts/mysqld_safe.sh.orig	2020-01-26 20:43:53.000000000 +0000
+++ scripts/mysqld_safe.sh
@@ -210,7 +210,7 @@ wsrep_pick_url() {
     nc -z "$host" $port >/dev/null && break
   done
 
-  if [ "$url" == "0" ]; then
+  if [ "$url" = "0" ]; then
     log_error "ERROR: none of the URLs in '$@' is reachable."
     return 1
   fi