[Koha-bugs] [Bug 34685] updatedatabase.pl does not propagate the error code

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 1 10:00:54 CEST 2023


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #155057|0                           |1
        is obsolete|                            |

--- Comment #2 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 155060
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155060&action=edit
Bug 34685: Make updatedatabase.pl propagate the error

updatedatabase.pl already return 0 even if an error occurred during the
upgrade.

Test plan:
Adjust a db rev to make it fail and modify the value of the syspref 'version'
in DB to
make the db rev run.

Run updatedabase.pl and `echo $?`

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


More information about the Koha-bugs mailing list