fux bug in gzip compression

This commit is contained in:
Marko Oldenburg 2019-03-28 18:37:35 +01:00
parent 6556675b49
commit ea2f9ea909

View File

@ -236,10 +236,10 @@ sub createArchiv($$$) {
my $cmd = ''; my $cmd = '';
if ( !defined($backupcmd) ) { if ( !defined($backupcmd) ) {
if ( lc($symlink) eq 'no' ) { if ( lc($symlink) eq 'no' ) {
$tarOpts = 'cf'; $tarOpts = 'cfz';
} }
else { else {
$tarOpts = 'chf'; $tarOpts = 'chfz';
} }
# prevents tar's output of "Removing leading /" and return total bytes of # prevents tar's output of "Removing leading /" and return total bytes of