Drush fails with "Drush command terminated abnormally due to an unrecoverable error." error when the shield module is enabled.

hook_boot should check for php_sapi_name() == 'cli'.

CommentFileSizeAuthor
#1 shield-1365492-1.patch433 bytespbull

Comments

pbull’s picture

Title: Drush fails with Sheild modle enabled » Drush fails with Shield module enabled
Status: Active » Needs review
StatusFileSize
new433 bytes

I really can't spell today, title edited. Regardless, patch is attached.

pkiraly’s picture

Status: Needs review » Fixed

Thanks Peter! I commited your patch both in D7 and D6.

pkiraly’s picture

Status: Fixed » Closed (fixed)