From: intrigeri Date: Fri, 8 Jan 2010 22:40:23 +0000 (+0100) Subject: ldap,mysql,pgsql: use bash pipefail option so that failed dumps are reported as such X-Git-Tag: backupninja-0.9.7~9 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=47313bca65de105145f2168538b294a9bcc0e98d;hp=47313bca65de105145f2168538b294a9bcc0e98d;p=matthijs%2Fupstream%2Fbackupninja.git ldap,mysql,pgsql: use bash pipefail option so that failed dumps are reported as such This should fix Redmine bug #1340. This option makes pipelines return as status the value of the last (rightmost) command to exit with a non-zero status, or zero if all commands exit successfully. See bash(1) for details. E.g. this prevents the following from exiting with status 0 (!) if pg_dumpall fails: pg_dumpall | gzip ---