mirror of
https://github.com/moparisthebest/pi-hole
synced 2024-11-29 04:22:20 -05:00
anal retentive changes
OCD
This commit is contained in:
parent
c297a86211
commit
932d410b66
@ -76,9 +76,9 @@ do
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# tmp file, so we don't have to store the (long!) lists in RAM
|
# tmp file, so we don't have to store the (long!) lists in RAM
|
||||||
patternBuffer=`mktemp`
|
patternBuffer=$(mktemp)
|
||||||
heisenbergCompensator=""
|
heisenbergCompensator=""
|
||||||
if [ -r $saveLocation ]; then
|
if [[ -r $saveLocation ]]; then
|
||||||
heisenbergCompensator="-z $saveLocation"
|
heisenbergCompensator="-z $saveLocation"
|
||||||
fi
|
fi
|
||||||
CMD="$cmd -s $heisenbergCompensator -A '$agent' $url > $patternBuffer"
|
CMD="$cmd -s $heisenbergCompensator -A '$agent' $url > $patternBuffer"
|
||||||
@ -97,7 +97,7 @@ do
|
|||||||
echo "Skipping pattern because transporter logic detected no changes..."
|
echo "Skipping pattern because transporter logic detected no changes..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# cleanup
|
# Cleanup
|
||||||
rm -f $patternBuffer
|
rm -f $patternBuffer
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user