diff options
author | magnus@neptunus.(none) <> | 2004-04-30 13:41:19 +0200 |
---|---|---|
committer | magnus@neptunus.(none) <> | 2004-04-30 13:41:19 +0200 |
commit | c3df24362bab7604f3b5e0c77b9f2fa7f861fbb9 (patch) | |
tree | 97220179cc51defd202848b57a6ca58131b22bd4 /mysql-test/ndb | |
parent | 08fa382a708e31a10c0f7d821a1af03a48ed52c1 (diff) | |
parent | 142b5cab420170ad9d5d131623b0f6019bd48f20 (diff) | |
download | mariadb-git-c3df24362bab7604f3b5e0c77b9f2fa7f861fbb9.tar.gz |
Merge neptunus.(none):/home/magnus/mysql-4.1
into neptunus.(none):/home/magnus/mysql-4.1-sql-bench
Diffstat (limited to 'mysql-test/ndb')
-rwxr-xr-x | mysql-test/ndb/stop_ndbcluster | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/mysql-test/ndb/stop_ndbcluster b/mysql-test/ndb/stop_ndbcluster index 09e22cf69c4..e1a98f1de07 100755 --- a/mysql-test/ndb/stop_ndbcluster +++ b/mysql-test/ndb/stop_ndbcluster @@ -22,9 +22,9 @@ done stop_default_ndbcluster() { -if [ ! -f $pidfile ] ; then - exit 0 -fi +#if [ ! -f $pidfile ] ; then +# exit 0 +#fi if [ ! -f $cfgfile ] ; then echo "$cfgfile missing" @@ -43,8 +43,11 @@ echo "all stop" | $exec_mgmtclient sleep 5 -kill `cat $pidfile` -rm $pidfile +if [ -f $pidfile ] ; then + kill `cat $pidfile` + rm $pidfile +fi + } stop_default_ndbcluster |