[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 15:32:37 CEST 2023


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

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

--- Comment #5 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 155274
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155274&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>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list