Commit 498ea507 authored by Jon Pugh's avatar Jon Pugh

Default the "error message" to NULL. Once the logs are rendered nicely, we...

Default the "error message" to NULL. Once the logs are rendered nicely, we don't need an extra "Process failed" message.
parent 26a34832
......@@ -443,7 +443,7 @@ function provision_backend_invoke($target, $command, $arguments = array(), $data
* print $process->getExitCode();
*
*/
function provision_process($command, $cwd = null, $label = 'Process', $env = array(), $log_output = TRUE, $error_message = 'Process Failed') {
function provision_process($command, $cwd = null, $label = 'Process', $env = array(), $log_output = TRUE, $error_message = NULL) {
if (empty($command)) {
return;
}
......
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