Closed maniqui closed 9 years ago
fixed! 5762f2bd7f6597db47a1d6f3e998694058217c34
There are still some places in hostsblock-common.sh where the incorrect -z
(for gzip) is being used:
@maniqui : I can't see any remaining "-z" option (at least in the files here in git repository), are you sure you haven't confused it with "-dc" which seems valid?
Hi. It seems that everywhere the
gzip
command is used, there is a-z
parameter passed along, which makes it fail. The consequences are that the hostsblock.db.gz isn't created properly and then, other commands fail too.The fix is pretty straightforward: remove the
-z
parameter. BTW, the-z
parameter is also used with the commandpigz
(parallel gzip), but as I don't use that program, I'm not sure if this issue affects it too. I'd guess it does.