summaryrefslogtreecommitdiff
path: root/mysql-test/ndb
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2006-04-26 20:50:27 -0700
committerunknown <jimw@mysql.com>2006-04-26 20:50:27 -0700
commit8b553a3f6b2f47cf6c69f2163ffae941f952fee1 (patch)
treec83d0f14591ea84e7ce9f9df35c0bbbf4965e36d /mysql-test/ndb
parent47ce2876b5bb8d46f426560bf4beb0e478d05d4a (diff)
downloadmariadb-git-8b553a3f6b2f47cf6c69f2163ffae941f952fee1.tar.gz
Fix bug in ndbcluster.sh on Solaris (now that line is the same as in 5.1)
mysql-test/ndb/ndbcluster.sh: redirect to /dev/null to avoid grep -q
Diffstat (limited to 'mysql-test/ndb')
-rw-r--r--mysql-test/ndb/ndbcluster.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/ndb/ndbcluster.sh b/mysql-test/ndb/ndbcluster.sh
index 50eb3987a36..3710da71e10 100644
--- a/mysql-test/ndb/ndbcluster.sh
+++ b/mysql-test/ndb/ndbcluster.sh
@@ -237,7 +237,7 @@ cat `find "$fs_ndb" -name 'ndb_*.pid'` > "$fs_ndb/$pidfile"
# test if Ndb Cluster starts properly
echo "Waiting for NDB data nodes to start..."
-if ( $exec_waiter ) | grep -q "NDBT_ProgramExit: 0 - OK"; then :; else
+if ( $exec_waiter ) | grep "NDBT_ProgramExit: 0 - OK" > /dev/null 2>&1; then :; else
echo "Ndbcluster startup failed"
stop_default_ndbcluster
exit 1