tests/eventscripts: Be more defensive about removing the var directory
authorMartin Schwenke <martin@meltin.net>
Tue, 24 Apr 2012 07:17:59 +0000 (17:17 +1000)
committerMartin Schwenke <martin@meltin.net>
Fri, 27 Apr 2012 05:42:42 +0000 (15:42 +1000)
commit6a21c819e77a7e1cfdd081b24c3521129f9388bd
treed16b15c52210bfc91481e2d2d272904653c8f0e4
parent0c8f7856281ba5df9c6dc796fb2aeeb34b31294a
tests/eventscripts: Be more defensive about removing the var directory

Could add -r but that might avoid error.  The only time it doesn't
exist is the 1st time a top-level var directory is used.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 047d97dc84a5943556efb31bb2856fd04835fffa)
ctdb/tests/eventscripts/scripts/local.sh