https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44194 --- Comment #1 from babar junaid <babarjunaid1122@gmail.com> --- Created attachment 212183 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212183&action=edit Bug 44194: Exit 0 from koha-dump --quiet after a successful dump Bug 44194: Exit 0 from koha-dump --quiet after a successful dump The last line of dump_instance, [ "$quiet" = "no" ] && echo "Done.", returns 1 when --quiet is given, and under set -e the script exits 1 after a complete dump. Use an if instead. Test plan: 1. sudo koha-dump --quiet kohadev ; echo $? Without the patch: 1. With the patch: 0. 2. sudo koha-dump kohadev ; echo $? still prints Done. and 0. Sponsored-by: Koha Solutions -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.