summaryrefslogtreecommitdiffstats
path: root/provision.inc
diff options
context:
space:
mode:
authorAntoine Beaupré2011-04-07 19:45:54 (GMT)
committerAntoine Beaupré2011-04-07 19:53:57 (GMT)
commit90bb0220c1458575df302980b278b8f5d44a9e72 (patch)
tree794dacc16bc2fa1917c3ec525068b7a98eba3d9e /provision.inc
parent13e4bd5dac0717467b08e92e39acfed030c60d02 (diff)
properly carry errors through multiple directory entries in recursive delete
Diffstat (limited to 'provision.inc')
-rw-r--r--provision.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/provision.inc b/provision.inc
index 8c0ae5a..d945672 100644
--- a/provision.inc
+++ b/provision.inc
@@ -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();