Commit 0cb33963 authored by anarcat's avatar anarcat

properly carry errors through multiple directory entries in recursive delete

parent d025218d
......@@ -135,7 +135,7 @@ function _provision_recursive_delete($path) {
continue;
}
$entry_path = $path .'/'. $entry;
$ret = _provision_recursive_delete($entry_path);
$ret &= _provision_recursive_delete($entry_path);
}
$d->close();
......
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