summaryrefslogtreecommitdiffstats
path: root/provision.inc
diff options
context:
space:
mode:
authorJon Pugh2018-09-13 23:42:55 (GMT)
committerJon Pugh2018-09-13 23:42:55 (GMT)
commit498ea5074d608da827a62d28c15822d0801fe213 (patch)
tree7917d9731903a0beaccf647b8d1c1611f42baa3a /provision.inc
parent26a34832ff3191d16e566505467fea84bb9bb94f (diff)
Default the "error message" to NULL. Once the logs are rendered nicely, we don't need an extra "Process failed" message.
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 70508a5..fd4f705 100644
--- a/provision.inc
+++ b/provision.inc
@@ -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;
}