From 3babb05d51463ec9ab67d21cb01f40dc9c1e92f5 Mon Sep 17 00:00:00 2001 From: Philippe Villiers Date: Mon, 20 Dec 2010 17:13:45 +0100 Subject: [PATCH] Complete fix for bug #237. --- lib/backup-methods.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/backup-methods.sh b/lib/backup-methods.sh index c85f0d5..480317d 100644 --- a/lib/backup-methods.sh +++ b/lib/backup-methods.sh @@ -166,8 +166,8 @@ function __exec_meta_command() debug "$command > $file_to_create 2> $logfile" tail_logfile "$logfile" if [[ "$BM_ENCRYPTION_METHOD" = "gpg" ]]; then - $command 2>$logfile | $compress_bin -f -q -9 2>$logfile | $nice $gpg $BM__GPG_HOMEDIR -r "$BM_ENCRYPTION_RECIPIENT" -e > $file_to_create.$ext.gpg 2> $logfile - debug "$command | $compress_bin -f -q -9 | $nice $gpg $BM__GPG_HOMEDIR -r \"$BM_ENCRYPTION_RECIPIENT\" -e > $file_to_create.$ext.gpg 2> $logfile" + $command 2>$logfile | $nice $compress_bin -f -q -9 2>$logfile | $nice $gpg $BM__GPG_HOMEDIR -r "$BM_ENCRYPTION_RECIPIENT" -e > $file_to_create.$ext.gpg 2> $logfile + debug "$command | $nice $compress_bin -f -q -9 | $nice $gpg $BM__GPG_HOMEDIR -r \"$BM_ENCRYPTION_RECIPIENT\" -e > $file_to_create.$ext.gpg 2> $logfile" file_to_create="$file_to_create.$ext.gpg" else $command 2> $logfile | $nice $compress_bin -f -q -9 > $file_to_create.$ext 2> $logfile