Koha-clms/debian/scripts
David Cook ef3985df06
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 <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e8a187eb74)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2023-05-12 16:22:47 +01:00
..
koha-create
…
koha-create-dirs
…
koha-disable
…
koha-dump
…
koha-dump-defaults
…
koha-elasticsearch
…
koha-email-disable
…
koha-email-enable
…
koha-enable
…
koha-es-indexer
…
koha-foreach Bug 33645: Make koha-foreach return 0 if it completes successfully 2023-05-12 16:22:47 +01:00
koha-functions.sh
…
koha-indexer
…
koha-list
…
koha-mysql
…
koha-mysqlcheck
…
koha-passwd
…
koha-plack
…
koha-rebuild-zebra
…
koha-remove
…
koha-reset-passwd
…
koha-restore
…
koha-run-backups
…
koha-shell
…
koha-sip
…
koha-sitemap
…
koha-translate
…
koha-upgrade-schema
…
koha-upgrade-to-3.4
…
koha-worker
…
koha-z3950-responder
…
koha-zebra
…