gaenserich / hostsblock

an ad- and malware-blocking script for Linux
https://github.com/gaenserich/hostsblock
225 stars 28 forks source link

Can't set hostshead #79

Closed C0rn3j closed 6 years ago

C0rn3j commented 6 years ago
[0] % sudo -u hostsblock hostsblock -u             
Checking blocklists for updates...
Changes found among blocklists. Extracting and preparing cached files to working directory...
/usr/bin/hostsblock: line 461: [: /etc/hosts.bak: integer expression expected
Compiling into /var/lib/hostsblock/hosts.block...

Relevant line:

hostshead="/etc/hosts.bak"

This is on Arch linux - hostsblock 0.999.6-3

gaenserich commented 6 years ago

It was a superficial error that didn't effect functioning. Fixed in e271d78a3b79dac2d337f3a00dc0bc21c74307c1