mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-02 20:20:56 +00:00
Formatting consistency
This commit is contained in:
parent
1f3db8b602
commit
a620a5c430
4
pihole
4
pihole
@ -301,7 +301,7 @@ Branches:
|
|||||||
}
|
}
|
||||||
|
|
||||||
tricorderFunc() {
|
tricorderFunc() {
|
||||||
if [ ! -p "/dev/stdin" ]; then
|
if [[ ! -p "/dev/stdin" ]]; then
|
||||||
echo "Please do not call Tricorder directly."
|
echo "Please do not call Tricorder directly."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@ -319,7 +319,7 @@ tricorderFunc() {
|
|||||||
echo "There is a possibility that this could be intercepted by a third party"
|
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"
|
echo "If you wish to cancel, press Ctrl-C to exit within 10 seconds"
|
||||||
secs="10"
|
secs="10"
|
||||||
while [ "$secs" -gt 0 ]; do
|
while [[ "$secs" -gt "0" ]]; do
|
||||||
echo -ne "."
|
echo -ne "."
|
||||||
sleep 1
|
sleep 1
|
||||||
: $((secs--))
|
: $((secs--))
|
||||||
|
Loading…
Reference in New Issue
Block a user