Skip to content
Snippets Groups Projects
Verified Commit 2b87efb3 authored by Drew Webber's avatar Drew Webber
Browse files

Issue #3420076 by klausi, poker10: _drupal_log_error() should return a...

Issue #3420076 by klausi, poker10: _drupal_log_error() should return a non-zero exit code on errors in the cli
parent 86ee540a
Branches
Tags
No related merge requests found
Pipeline #144889 failed
Pipeline: drupal

#144899

    Pipeline: drupal

    #144898

      Pipeline: drupal

      #144897

        +7
        ......@@ -216,7 +216,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
        if ($fatal) {
        // When called from CLI, simply output a plain text message.
        print html_entity_decode(strip_tags(t('%type: !message in %function (line %line of %file).', $error))). "\n";
        exit;
        exit(1);
        }
        }
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment