1
0
mirror of https://github.com/moparisthebest/pi-hole synced 2024-11-22 01:02:15 -05:00

anal retentive changes

OCD
This commit is contained in:
Jacob Salmela 2015-11-06 17:14:05 -06:00
parent c297a86211
commit 932d410b66

View File

@ -76,9 +76,9 @@ do
esac
# tmp file, so we don't have to store the (long!) lists in RAM
patternBuffer=`mktemp`
patternBuffer=$(mktemp)
heisenbergCompensator=""
if [ -r $saveLocation ]; then
if [[ -r $saveLocation ]]; then
heisenbergCompensator="-z $saveLocation"
fi
CMD="$cmd -s $heisenbergCompensator -A '$agent' $url > $patternBuffer"
@ -97,7 +97,7 @@ do
echo "Skipping pattern because transporter logic detected no changes..."
fi
# cleanup
# Cleanup
rm -f $patternBuffer
done