File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ function drush_main() {
2323 * will return a json string containing the options and log information
2424 * used by the script.
2525 *
26- * The command will exit with '1 ' if it was successfully executed, and the
26+ * The command will exit with '0 ' if it was successfully executed, and the
2727 * result of drush_get_error() if it wasn't.
2828 */
2929function drush_shutdown () {
@@ -33,7 +33,7 @@ function drush_shutdown() {
3333 }
3434
3535 if (!Drush::config ()->get (Runtime::DRUSH_RUNTIME_COMPLETED_NAMESPACE )) {
36- throw new RuntimeException ('Drush command terminated abnormally. Check for an exit() in your Drupal site. ' );
36+ Drush:: logger ()-> warning ('Drush command terminated abnormally. Check for an exit() in your Drupal site. ' );
3737 }
3838
3939 if (Drush::backend ()) {
You can’t perform that action at this time.
0 commit comments