Closed (fixed)
Project:
Hostmaster (Aegir)
Version:
7.x-3.x-dev
Component:
Jenkins
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2014 at 14:40 UTC
Updated:
24 Mar 2017 at 10:24 UTC
Jump to comment: Most recent
Comments
Comment #1
helmo commenteddrush_set_error always returns FALSE, which should be OK to get the exit code from drush to be non-zero.
Related: #1735230: Drush pm-download exit with 0 even when no release is found
John Pugh mentions the same issue in #13, https://drupal.org/node/1735230#comment-7570449
This works OK on several test systems I tried(both drush 6.x and 7,x), but apparently not on our wheezy vagrant image.
Adding a hard exit(1) seems to do the job ;)
Comment #2
helmo commentedfixed a long time ago....