https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43546 Frédéric Demians <f.demians@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |f.demians@tamil.fr --- Comment #15 from Frédéric Demians <f.demians@tamil.fr> --- While testing bug 43549 (cleanup_database.pl) / just after 43557, I catch that the scripts converted to Koha::Script->describe_options exit with an unpredictable status on command-line errors. Getopt::Long::Descriptive reports errors with die, and an uncaught die exits with the value of $! if it is not 0. So an unknown option, a missing required option or a $usage->die call gives 11 for cleanup_database.pl in KTD, 2 after a failed open, etc. The old scripts exited with status 1, with pod2usage(1) or usage(1). I will attach a fix. But it will break/conflict with subsequent patches: 43557 and other. A rebase may be more prudent... -- You are receiving this mail because: You are watching all bug changes.