Commit 5cca95b2 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

Some extra logging to track down an error during restore i found

parent 3befa224
......@@ -219,6 +219,7 @@ function provision_path_extract($path, &$target, &$reason) {
if (is_writeable(dirname($target)) && !file_exists($target) && !is_dir($target)) {
provision_shell_exec("tar -zxf %s -C %s", $path, $target);
provision_log("notice", sprintf("Running: tar -zxf %s -C %s", $path, $target));
if (is_writeable(dirname($target)) && is_readable(dirname($target)) && is_dir($target)) {
$target = TRUE;
return TRUE;
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