[Koha-bugs] [Bug 17532] koha-shell -c does not propagate the error code

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 2 18:00:59 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17532

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |Before this development,
      release notes|                            |the koha-shell script would
                   |                            |always return a successful
                   |                            |error code, making it hard
                   |                            |for the callers to notice
                   |                            |there was a problem with
                   |                            |the command being run
                   |                            |inside the instance's
                   |                            |shell.
                   |                            |
                   |                            |This development
                   |                            |makes koha-shell propagate
                   |                            |the running scripts' error
                   |                            |code so the caller can take
                   |                            |the required actions.
                   |                            |
                   |                            |Note: this implies a
                   |                            |behaviour change (for good)
                   |                            |but a warning should be
                   |                            |added to the release notes.
                   |                            |
                   |                            |Right now it always
                   |                            |returns

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list