Closed eduardoeae closed 9 years ago
I generally as far as bash
best practices goes always set set -eu
depending on error handling code even -E
might be of interest. -u
should catch errors like above (btw. I didn't check the source to confirm it).
@mkoskar thanks for the tip! fixed: 6f0f04a34526313b581028c7f1ecb6c13554c3da
In hostsblock.sh and hostsblock-common.sh there is a variable misspelled 4 times. "whilelist" Should be "whitelist" (L -> T). This causes white-listing not applying when updating hosts.