mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
ignore errors during cleanup
This commit is contained in:
parent
dd47833ed4
commit
43e2bd5966
1 changed files with 5 additions and 1 deletions
|
|
@ -34,7 +34,11 @@ abstract class AbstractShareTest extends TestCase {
|
|||
public function tearDown() {
|
||||
try {
|
||||
if ($this->share) {
|
||||
$this->cleanDir($this->root);
|
||||
try {
|
||||
$this->cleanDir($this->root);
|
||||
} catch (\Exception $e) {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
unset($this->share);
|
||||
} catch (\Exception $e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue