Package: autopostgresqlbackup Version: 1.0-2 Severity: normal Tags: patch Dear Maintainer,
If stdoud option (MAILCONTENT="stdout") is used, all outputs are redirected to stderr. It's because the script doesn't correctly restore outputs. Please, find patch below. ################################################################### --- old/autopostgresqlbackup 2013-06-11 19:18:16.024143000 +0200 +++ new/autopostgresqlbackup 2013-06-11 19:17:41.316142998 +0200 @@ -545,7 +545,7 @@ #Clean up IO redirection exec 1>&6 6>&- # Restore stdout and close file descriptor #6. -exec 1>&7 7>&- # Restore stdout and close file descriptor #7. +exec 2>&7 7>&- # Restore stderr and close file descriptor #7. if [ "$MAILCONTENT" = "files" ] then ################################################################### Regards, Cyprien -- System Information: Debian Release: 7.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages autopostgresqlbackup depends on: ii postgresql-client-common 144.pgdg70+1 Versions of packages autopostgresqlbackup recommends: ii mutt 1.5.21-6.2 autopostgresqlbackup suggests no packages. -- Configuration Files: /etc/cron.daily/autopostgresqlbackup changed [not included] /etc/default/autopostgresqlbackup changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org