Formatting consistency

This commit is contained in:
WaLLy3K 2017-05-18 12:53:32 +10:00 committed by GitHub
parent 1f3db8b602
commit a620a5c430

4
pihole
View file

@ -301,7 +301,7 @@ Branches:
}
tricorderFunc() {
if [ ! -p "/dev/stdin" ]; then
if [[ ! -p "/dev/stdin" ]]; then
echo "Please do not call Tricorder directly."
exit 1
fi
@ -319,7 +319,7 @@ tricorderFunc() {
echo "There is a possibility that this could be intercepted by a third party"
echo "If you wish to cancel, press Ctrl-C to exit within 10 seconds"
secs="10"
while [ "$secs" -gt 0 ]; do
while [[ "$secs" -gt "0" ]]; do
echo -ne "."
sleep 1
: $((secs--))