[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
Wed Sep 6 02:57:45 CEST 2023


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

David Cook <dcook at prosentient.com.au> changed:

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

--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
Created attachment 155247
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155247&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 $?`

Signed-off-by: David Cook <dcook at prosentient.com.au>

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


More information about the Koha-bugs mailing list