Browse Source

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
pull/374/head
unknown 20 years ago
parent
commit
8b553a3f6b
  1. 2
      mysql-test/ndb/ndbcluster.sh

2
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

Loading…
Cancel
Save