Koha-clms/debian/scripts
David Cook 2b57946d04 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>
(cherry picked from commit ef3985df06)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 9f8b34e8d6)
Signed-off-by: danyonsewell <danyonsewell@catalyst.net.nz>
(cherry picked from commit 9f8b34e8d6)
2023-07-21 02:46:49 +00:00
..
koha-create Bug 25622: Use special chars in DB password (koha-create) 2022-08-12 09:30:43 +02:00
koha-create-dirs
…
koha-disable Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-dump Bug 28749: Restore the database name to Koha dumps 2021-07-30 15:54:05 +02:00
koha-dump-defaults
…
koha-elasticsearch Bug 26448: Don't overwrite commit parameter passed to koha-elasticsearch 2020-09-18 11:49:29 +02:00
koha-email-disable
…
koha-email-enable
…
koha-enable
…
koha-foreach Bug 33645: Make koha-foreach return 0 if it completes successfully 2023-07-21 02:46:49 +00:00
koha-functions.sh Bug 28519: Put CGI::Session::Serialize::yamlxs in lib directory 2021-06-17 10:07:36 +02:00
koha-indexer Bug 32811: Remove useless lines for indexer.log 2023-03-29 14:53:57 +02:00
koha-list
…
koha-mysql Bug 30468: Restore 'set -e' and remove echos 2022-10-12 13:11:20 +02:00
koha-mysqlcheck
…
koha-passwd
…
koha-plack Bug 31348: Make koha-plack stop gracefully 2022-10-19 05:07:19 +02:00
koha-rebuild-zebra
…
koha-remove Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-reset-passwd
…
koha-restore Bug 10517: (QA follow-up) No need to remove second true 2022-05-13 12:10:37 -04:00
koha-run-backups Bug 21111: Add --exclude-indexes to koha-run-backups 2020-11-04 12:59:34 +01:00
koha-shell Bug 28519: Add lib to koha-shell 2021-06-17 15:59:40 +02:00
koha-sip Bug 24993: fix increment 2020-04-14 08:33:00 +01:00
koha-sitemap
…
koha-translate Bug 18984: Remove NORMARC support 2021-10-07 15:36:40 +02:00
koha-upgrade-schema
…
koha-upgrade-to-3.4
…
koha-worker Bug 27839: (follow-up) Update docs for koha-worker 2021-04-12 15:27:50 +02:00
koha-z3950-responder Bug 25618: Fix wrong package install path for misc dir 2020-05-29 11:44:54 +02:00
koha-zebra
…