From ea2f9ea9091847443bdf67966006aa37ad2336cd Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Thu, 28 Mar 2019 18:37:35 +0100 Subject: [PATCH] fux bug in gzip compression --- 98_backup.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/98_backup.pm b/98_backup.pm index 7d1ecfa..08aac50 100644 --- a/98_backup.pm +++ b/98_backup.pm @@ -236,10 +236,10 @@ sub createArchiv($$$) { my $cmd = ''; if ( !defined($backupcmd) ) { if ( lc($symlink) eq 'no' ) { - $tarOpts = 'cf'; + $tarOpts = 'cfz'; } else { - $tarOpts = 'chf'; + $tarOpts = 'chfz'; } # prevents tar's output of "Removing leading /" and return total bytes of