Standardize function declaration

There were no fewer than three styles of function declaration going
on in these files, so I attempted to standardize them to the typical

myfucn() {
}

style.
This commit is contained in:
Marcus Hildum 2016-10-19 19:47:45 -07:00
parent 16e4f79f09
commit 28eeaf201b
9 changed files with 55 additions and 63 deletions

View file

@ -13,8 +13,7 @@
# Run this script as root or under sudo
echo ":::"
helpFunc()
{
helpFunc() {
echo "::: Pull in domains from adlists"
echo ":::"
echo "::: Usage: pihole -g"
@ -196,7 +195,7 @@ gravity_Schwarzchild() {
echo " done!"
}
gravity_Blacklist(){
gravity_Blacklist() {
# Append blacklist entries if they exist
echo -n "::: Running blacklist script to update HOSTS file...."
${blacklistScript} -f -nr -q > /dev/null