Commit 968cb63b authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian
Browse files

Avoid an inifinite loop when the task is set to finished

parent a0a9807e
......@@ -278,7 +278,7 @@ function install_main() {
$function = $profile .'_profile_tasks';
if (function_exists($function)) {
while ($task != 'profile-finished') {
while (!in_array($task, array('profile-finished', 'finished'))) {
drush_log(dt("Running profile specific task : !task", array('!task' => $task)));
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