Page MenuHomePhabricator

Civi upgrade drush script should return non-zero error code on failure
Open, NormalPublic

Description

Maybe this was the fault of the shell wrapper:

(time drush -v -v civicrm-upgrade-db |& tee /tmp/civi-migration.log) ;(echo "Completed with exit status [$?] (0 is good), at" `date` | mail -s "Civi upgrade complete" fr-tech@wikimedia.org)

Ah- maybe we got the error code from "tee" instead of "drush"?