https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33645
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #150484|0 |1 is obsolete| | --- Comment #2 from David Nind <[email protected]> --- Created attachment 150492 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150492&action=edit Bug 33645: Make koha-foreach return 0 if it completes successfully This patch adds an "exit 0" to the end of koha-foreach, so that it returns a successful exit code if it reaches the bottom of the script without errors. Test plan: 0) `koha-foreach echo` 1) `echo $?` 2) Note that the exit status is 1 3) Apply patch 4) `./debian/scripts/koha-foreach echo` 5) `echo $?` 6) Note that the exit status is 0 Signed-off-by: David Nind <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
