mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Formatting consistency
This commit is contained in:
parent
1f3db8b602
commit
a620a5c430
1 changed files with 2 additions and 2 deletions
4
pihole
4
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--))
|
||||
|
|
Loading…
Reference in a new issue