Commit 26a34832 authored by Jon Pugh's avatar Jon Pugh

Do nothing if the command is empty.

parent eaf802c7
......@@ -444,6 +444,9 @@ function provision_backend_invoke($target, $command, $arguments = array(), $data
*
*/
function provision_process($command, $cwd = null, $label = 'Process', $env = array(), $log_output = TRUE, $error_message = 'Process Failed') {
if (empty($command)) {
return;
}
drush_log("[$label] $command", 'p_command');
// Merge in env vars, inheriting the CLI's
......
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