Commit f821f836 authored by mikeytown2's avatar mikeytown2 Committed by bgm

issue #1138630 : error suppression used due to rmdir being a race condition

parent 50ed74ab
......@@ -1097,8 +1097,9 @@ function _boost_rmdir($dir, $flush = TRUE) {
}
}
}
if ($empty_dir) {
rmdir($dir);
if ($empty_dir && is_dir($dir)) {
// #1138630 @ error suppression used due to rmdir being a race condition.
@rmdir($dir);
}
return $counter;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment