From a620a5c430f34e0c4bcd4ae906ee60aa982520bd Mon Sep 17 00:00:00 2001 From: WaLLy3K Date: Thu, 18 May 2017 12:53:32 +1000 Subject: [PATCH] Formatting consistency --- pihole | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pihole b/pihole index 3db64172..869db5ba 100755 --- a/pihole +++ b/pihole @@ -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--))