...and replace instead with command line argument.
Avoids a deprecation warning.
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
if defined($param->{$key}) && ($user ne 'root@pam');
}
- # by default we set --rsyncable for gzip
- local $ENV{GZIP} = "--rsyncable" if !$ENV{GZIP};
-
PVE::VZDump::verify_vzdump_parameters($param, 1);
# silent exit if we run on wrong node
}
return ("pigz -p ${pigz_threads}", 'gz');
} else {
- return ('gzip', 'gz');
+ return ('gzip --rsyncable', 'gz');
}
} else {
die "internal error - unknown compression option '$opt_compress'";